The next revision of find
template<class P, class T>
P find(P begin, P end, const T& t)
{
while (begin != end && *begin != t)
++begin;
return begin;
}
Try it with symmetric bounds
This version of find is part of the (forthcoming) standard C++ library