First page Back Continue Last page Graphics
FIND_IF
See split_iterator.cpp example on lecture web page.
find_if(InputIterator beg, InputIterator end, UnaryPredicate op)
Returns the position of the first element in the range [beg,end) for which the unary predicate op(elem) yields true.
i = find_if(i, str.end(), not_space);