What About Lists? The find code would work for lists too template typename C::const_iterator find(const C &v, const T &value) { ... } However, this isn't allowed by C++ So we need rewrite it for list But code repetition is bad...