modm API documentation
modm::DynamicArray< T, Allocator >::const_iterator Class Reference

forward const iterator More...

#include <modm/container/dynamic_array.hpp>

Inheritance diagram for modm::DynamicArray< T, Allocator >::const_iterator:

Public Member Functions

 const_iterator ()
 Default constructor.
 
 const_iterator (const iterator &other)
 Copy constructor. More...
 
 const_iterator (const const_iterator &other)
 Copy constructor.
 
const_iterator & operator= (const const_iterator &other)
 
const_iterator & operator++ ()
 
const_iterator & operator-- ()
 
bool operator== (const const_iterator &other) const
 
bool operator!= (const const_iterator &other) const
 
const T & operator* () const
 
const T * operator-> () const
 

Friends

class DynamicArray
 

Detailed Description

template<typename T, typename Allocator = allocator::Dynamic<T>>
class modm::DynamicArray< T, Allocator >::const_iterator

forward const iterator

Constructor & Destructor Documentation

template<typename T , typename Allocator = allocator::Dynamic<T>>
modm::DynamicArray< T, Allocator >::const_iterator::const_iterator ( const iterator other)

Copy constructor.

Used to convert a normal iterator to a const iterator. The other way is not possible.


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