boost::algorithm::last_finder — "Last" finder
// In header: <boost/algorithm/string/finder.hpp> template<typename RangeT> ( Search); template<typename RangeT, typename PredicateT> ( Search, Comp);
Construct the last_finder. The finder searches for the last occurrence of the string in a given input. The result is given as an iterator_range delimiting the match.
last_finder
iterator_range
Parameters:
Search
A substring to be searched for.
Returns:
An instance of the last_finder object