...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::algorithm::find_token — Find token algorithm.
// In header: <boost/algorithm/string/find.hpp> template<typename RangeT, typename PredicateT> iterator_range< typename range_iterator< RangeT >::type > find_token(RangeT & Input, PredicateT Pred, token_compress_mode_type eCompress = token_compress_off);
Look for a given token in the string. Token is a character that matches the given predicate. If the "token compress mode" is enabled, adjacent tokens are considered to be one match.
Note | |
---|---|
This function provides the strong exception-safety guarantee |
Parameters: |
|
||||||
Returns: |
An |