|
Argon 0.1.0
|
Public Types | |
| using | iterator_category = std::input_iterator_tag |
| The iterator category. | |
| using | difference_type = std::ptrdiff_t |
| using | value_type = Argon<ScalarType> |
Public Member Functions | |
| StoreIterator (ScalarType *ptr) | |
| Argon< ScalarType > & | operator* () |
| const Argon< ScalarType > & | operator* () const |
| StoreIterator & | operator+= (int n) |
| StoreIterator & | operator-= (int n) |
| StoreIterator | operator++ (int) |
| StoreIterator | operator-- (int) |
| StoreIterator & | operator++ () |
| StoreIterator & | operator-- () |
| StoreIterator | operator+ (int n) const |
| Adds an integer to the iterator and returns a new iterator. | |
| StoreIterator | operator- (int n) const |
| Subtracts an integer from the iterator and returns a new iterator. | |
| difference_type | operator- (const StoreIterator &other) const |
Friends | |
| StoreIterator | operator+ (const int n, const StoreIterator &it) |
| Adds an integer to the iterator and returns a new iterator. | |
| bool | operator== (const StoreIterator &a, const StoreIterator &b) |
| bool | operator== (const StoreIterator &a, const ScalarType *ptr) |
| bool | operator!= (const StoreIterator &a, const StoreIterator &b) |
| bool | operator!= (const StoreIterator &a, const ScalarType *ptr) |
| auto | operator<=> (const StoreIterator &a, const StoreIterator &b) |
|
inline |
Adds an integer to the iterator and returns a new iterator.
| n | The number of steps to add. |
|
inline |
Subtracts an integer from the iterator and returns a new iterator.
| n | The number of steps to subtract. |
|
friend |
Adds an integer to the iterator and returns a new iterator.
| n | The number of steps to add. |
| it | The iterator to add to. |