ampsci
c++ program for high-precision atomic structure calculations of single-valence systems
|
An iterator accounting for a stride. More...
#include <Array.hpp>
Inherits qip::Comparison< StrideIterator< T > >.
Public Member Functions | |
StrideIterator (T *ptr, long stride) | |
T & | operator* () |
const T & | operator* () const |
bool | operator== (const StrideIterator &other) const |
bool | operator< (const StrideIterator &other) const |
StrideIterator & | operator++ () |
StrideIterator & | operator-- () |
StrideIterator | operator++ (int) |
StrideIterator | operator-- (int) |
StrideIterator & | operator+= (long n) |
StrideIterator & | operator-= (long n) |
StrideIterator | operator+ (long n) const |
StrideIterator | operator- (long n) const |
Protected Attributes | |
T * | m_ptr |
long | m_stride |
An iterator accounting for a stride.