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