Luna Innovations interview question

Code a templated C++ function that searches a container given an iterator.