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