boost::text::find_not
// In header: <boost/text/algorithm.hpp> template<typename BidiIter, typename Sentinel, typename T> BidiIter find_not(BidiIter first, Sentinel last, T const & x);
A range-friendly compliment to std::find(); returns an iterator to the first element not equal to x.
std::find()
x