boost::algorithm::copy_iterator_range — copy a range into a sequence
template<typename SeqT, typename IteratorT> SeqT copy_iterator_range(const iterator_range< IteratorT > & Range);
Construct a new sequence of the specified type from the elements in the given range
Parameters
An input range
Returns: New sequence