Yoba Perl
ArrayIterator

Array iterator. More...

Public Member Functions

 ArrayIterator (ArrayIterator &&to_move)
 Move constructor.
 
Operators
Scalar operator* () const
 
ArrayIteratoroperator++ ()
 
ArrayIteratoroperator-- ()
 
ArrayIterator operator++ (int)
 
ArrayIterator operator-- (int)
 
ArrayIterator operator+ (SSize_t diff) const
 
ArrayIterator operator- (SSize_t diff) const
 
ArrayIteratoroperator+= (SSize_t diff)
 
ArrayIteratoroperator-= (SSize_t diff)
 
bool operator== (const ArrayIterator &other) const
 
bool operator!= (const ArrayIterator &other) const
 

Detailed Description

Array iterator.

Example
for(Array::Iterator it = array.begin(); it != array.end(); ++it)
std::cout << *x << std::endl;
for(Scalar x : array)
std::cout << x << std::endl;

Definition at line 25 of file array_iterator.hpp.


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