...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::iter_find — Iter find algorithm.
// In header: <boost/algorithm/string/iter_find.hpp> template<typename SequenceSequenceT, typename RangeT, typename FinderT> SequenceSequenceT & iter_find(SequenceSequenceT & Result, RangeT & Input, FinderT Finder);
This algorithm executes a given finder in iteration on the input, until the end of input is reached, or no match is found. Iteration is done using built-in find_iterator
, so the real searching is performed only when needed. In each iteration new match is found and added to the result.
Note | |
---|---|
Prior content of the result will be overwritten. |
Parameters: |
|
||||||
Returns: |
A reference to the result |