Public Types | |
typedef base_t::container_t | container_t |
typedef base_t::container_ptr | container_ptr |
typedef base_t::container_iterator | container_iterator |
Public Member Functions | |
shared_container_iterator (container_ptr &index_collection) | |
template<class OtherContainerIterator > | |
shared_container_iterator (shared_container_iterator< Container, OtherContainerIterator > const &r, typename boost::enable_if_convertible< OtherContainerIterator, ContainerIterator >::type *=0) | |
Allows conversion from a shared_container_iterator to a const shared_container_iterator, won't allow conversion from a const shared_container_iterator to a shared_container_iterator. More... | |
shared_container_iterator< Container, ContainerIterator > | begin () const |
Returns a shared_container_iterator pointing to the begining of the range. | |
shared_container_iterator< Container, ContainerIterator > | end () const |
Returns a shared_container_iterator pointing to the end of the range. | |
Protected Attributes | |
container_ptr | m_collection |
Friends | |
class | boost::iterator_core_access |
Definition at line 31 of file shared_container_iterator.h.
|
inline |
Allows conversion from a shared_container_iterator to a const shared_container_iterator, won't allow conversion from a const shared_container_iterator to a shared_container_iterator.
By “const shared_container_iterator”, we mean that the ContainerIterator
is const, e.g. std::vector<Particle>::const_iterator
.
Definition at line 90 of file shared_container_iterator.h.