Performes an insertion using a container's memberfunction add, when operator= is called. More...
#include <iterator.hpp>
Public Types | |
typedef ContainerT | container_type |
The container's type. More... | |
typedef std::output_iterator_tag | iterator_category |
Public Member Functions | |
insert_iterator (ContainerT &cont, typename ContainerT::iterator iter) | |
An insert_iterator is constructed with a container and a position that has to be maintained. More... | |
insert_iterator & | operator= (typename ContainerT::const_reference value) |
This assignment operator adds the value before the current position. More... | |
insert_iterator & | operator* () |
insert_iterator & | operator++ () |
insert_iterator & | operator++ (int) |
Performes an insertion using a container's memberfunction add, when operator= is called.
typedef ContainerT boost::icl::insert_iterator< ContainerT >::container_type |
The container's type.
typedef std::output_iterator_tag boost::icl::insert_iterator< ContainerT >::iterator_category |
|
inline |
An insert_iterator is constructed with a container and a position that has to be maintained.
|
inline |
|
inline |
|
inline |
|
inline |
This assignment operator adds the value
before the current position.
It maintains it's position by incrementing after addition.