boost::text::find_if_not_backward
// In header: <boost/text/algorithm.hpp> template<typename BidiIter, typename Pred> BidiIter find_if_not_backward(BidiIter first, BidiIter last, Pred p);
Analogue of std::find() that finds the last value v in [first, last) for which p(v) is false.
std::find()
v
[first, last)
p(v)