Standard C++ Library Reference ISO/IEC (VERSION3)

back_insert_iterator& operator*();
back_insert_iterator& operator++();
back_insert_iterator operator++(int);
protected:
Container *container;
};
The template class describes an output iterator object. It inserts elements into a container of type
Container, which it accesses via the protected pointer object it stores called container. The
container must define:
the member type const_reference, which is the type of a constant reference to an element
of the sequence controlled by the container
the member type reference, which is the type of a reference to an element of the sequence
controlled by the container
the member type value_type, which is the type of an element of the sequence controlled by
the container
the member function push_back(value_type val), which appends a new element with
value val to the end of the sequence
back_insert_iterator::back_insert_iterator
explicit back_insert_iterator(Container& cont);
The constructor initializes container with &cont.
back_insert_iterator::container_type
typedef Container container_type;
The type is a synonym for the template parameter Container.
back_insert_iterator::operator*
back_insert_iterator& operator*();
The member function returns *this.
back_insert_iterator::operator++
back_insert_iterator& operator++();
back_insert_iterator operator++(int);
The member functions both return *this.