Performes an addition 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 | |
add_iterator (ContainerT &cont, typename ContainerT::iterator iter) | |
An add_iterator is constructed with a container and a position that has to be maintained. More... | |
add_iterator & | operator= (typename ContainerT::const_reference value) |
This assignment operator adds the value before the current position. More... | |
add_iterator & | operator* () |
add_iterator & | operator++ () |
add_iterator & | operator++ (int) |
Performes an addition using a container's memberfunction add, when operator= is called.
typedef ContainerT boost::icl::add_iterator< ContainerT >::container_type |
The container's type.
typedef std::output_iterator_tag boost::icl::add_iterator< ContainerT >::iterator_category |
|
inline |
An add_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.
References boost::icl::add().