|
|
using | iterator_category = std::input_iterator_tag |
| | The iterator category.
|
|
using | difference_type = std::ptrdiff_t |
|
using | value_type = Argon<ScalarType> |
|
|
| 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 |
|
| 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) |
◆ operator+()
template<typename ScalarType>
Adds an integer to the iterator and returns a new iterator.
- Parameters
-
| n | The number of steps to add. |
- Returns
- The updated iterator.
◆ operator-()
template<typename ScalarType>
Subtracts an integer from the iterator and returns a new iterator.
- Parameters
-
| n | The number of steps to subtract. |
- Returns
- The updated iterator.
◆ operator+
template<typename ScalarType>
| StoreIterator operator+ |
( |
const int | n, |
|
|
const StoreIterator & | it ) |
|
friend |
Adds an integer to the iterator and returns a new iterator.
- Parameters
-
| n | The number of steps to add. |
| it | The iterator to add to. |
- Returns
- The updated iterator.
The documentation for this struct was generated from the following file: