modm API documentation
|
forward const iterator More...
#include <modm/container/dynamic_array.hpp>
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 |
forward const iterator
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.