Function template foreach_subrange
boost::text::foreach_subrange
Synopsis
template<typename FwdIter, typename Sentinel, typename Func>
Func foreach_subrange(FwdIter first, Sentinel last, Func f);
Description
Calls f(sub)
for each subrange sub
in [first, last)
. A subrange is a contiguous subsequence of elements that each compares equal to the first element of the subsequence. Subranges passed to f
are non-overlapping.