17 #ifndef HH_SENF_Packets_algorithms_ 18 #define HH_SENF_Packets_algorithms_ 1 26 template<
class CollectionParser>
28 :
public std::iterator<std::output_iterator_tag, void, void, void, void>
38 container_.push_back(value);
47 typename CollectionParser::container_type container_;
50 template<
class CollectionParser>
57 template <
class ListPolicy,
class OutputIterator>
61 std::copy( container.begin(), container.end(), result);
back_insert_iterator & operator=(Value const &value)
ListPolicy::container_type container_type
back_insert_iterator< CollectionParser > back_inserter(CollectionParser const &parser)
void copy(ListParser< ListPolicy > const &listParser, OutputIterator result)
back_insert_iterator & operator++()
back_insert_iterator(CollectionParser const &parser)
raw_container::iterator iterator
Arbitrary sequential element collection.
back_insert_iterator & operator++(int)
back_insert_iterator & operator*()