ALP User Documentation 0.7.0
Algebraic Programming User Documentation
|
A standard iterator for the Vector< D > class. More...
#include <vector.hpp>
Inherits iterator< std::forward_iterator_tag, std::pair< const size_t, const D >, size_t >.
Public Member Functions | |
bool | operator!= (const const_iterator &other) const |
std::pair< const size_t, const D > | operator* () const |
Dereferences the current position of this iterator. More... | |
const_iterator & | operator++ () |
Advances the position of this iterator by one. More... | |
bool | operator== (const const_iterator &other) const |
Standard equals operator. | |
A standard iterator for the Vector< D > class.
This iterator is used for data extraction only. Hence only this const version is supplied.
|
inline |
|
inline |
Dereferences the current position of this iterator.
|
inline |
Advances the position of this iterator by one.
If the current position corresponds to the last element in the container, the new position of this iterator will be its end position.
If the current position of this iterator is already the end position, this iterator will become invalid; any use of invalid iterators will lead to undefined behaviour.