Boost logo

Boost :

From: Valentin Samko (boost_at_[hidden])
Date: 2006-06-05 18:17:24

According to the documentation
one can not pass a range to boost::algorithm::trim_copy, and
the sequence requirements must be met for the first parameter.

Considering how trim_copy_if is implemented, one can use it with
ranges (for example, with boost::iterator_range). Is there any reason
the documentation requires one to pass a sequence?

Is there any safe and documented way to trim a range, i.e. having two
iterators (begin, end) get a trimmed subrange?


Boost list run by bdawes at, gregod at, cpdaniel at, john at