The Final find() template It find(It begin, It end, const T &value) { while ( (begin != end) && (*begin != value) ) ++begin; return begin; }