boost::icl::add_iterator< ContainerT > Class Template Reference

Performes an addition using a container's memberfunction add, when operator= is called. More...

List of all members.

Public Types

typedef ContainerT container_type
 The container's type.

Public Member Functions

 add_iterator (ContainerT &cont, typename ContainerT::iterator iter)
add_iteratoroperator= (typename ContainerT::const_reference value)

Detailed Description

template<class ContainerT>
class boost::icl::add_iterator< ContainerT >

Performes an addition using a container's memberfunction add, when operator= is called.


Member Typedef Documentation

template<class ContainerT >
typedef ContainerT boost::icl::add_iterator< ContainerT >::container_type

The container's type.


Constructor & Destructor Documentation

template<class ContainerT >
boost::icl::add_iterator< ContainerT >::add_iterator ( ContainerT &  cont,
typename ContainerT::iterator  iter 
) [inline]

An add_iterator is constructed with a container and a position that has to be maintained.


Member Function Documentation

template<class ContainerT >
add_iterator& boost::icl::add_iterator< ContainerT >::operator= ( typename ContainerT::const_reference  value  )  [inline]

This assignment operator adds the value before the current position. It maintains it's position by incrementing after addition.


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2