Silly to write it twice Writing the same code twice is bad It will get out of sync Changes in one will be forgotten in the other It's a waste of time C++ provides a solution Can write one "template function" which works for any vector