Argon 0.1.0
|
An iterator for the vectorized view. More...
#include <load_store.hpp>
Public Types | |
using | iterator_category = std::forward_iterator_tag |
The iterator category. | |
using | value_type = helpers::ArgonFor_t<intrinsic_type> |
The value type of the iterator. | |
using | difference_type = std::ptrdiff_t |
The difference type of the iterator. |
Public Member Functions | |
Iterator (ScalarType *ptr) | |
Constructs an iterator from a pointer to the start of the range. | |
const value_type & | operator* () const |
value_type & | operator* () |
Dereference the iterator to get the current value. | |
const value_type * | operator-> () const |
value_type * | operator-> () |
Dereference the iterator to get the current value. | |
Iterator & | operator++ () |
Increment the iterator to the next value. | |
Iterator | operator++ (int) |
Postfix increment operator for the iterator. | |
void | reload () |
Reload the iterator with the current value. |
Friends | |
bool | operator== (const Iterator &a, const Iterator &b) |
Comparison operators for the iterator. | |
bool | operator== (const Iterator &a, const ScalarType *ptr) |
Comparison operators for the iterator. | |
bool | operator!= (const Iterator &a, const Iterator &b) |
Comparison operators for the iterator. | |
bool | operator!= (const Iterator &a, const ScalarType *ptr) |
Comparison operators for the iterator. |
An iterator for the vectorized view.
|
inline |
Constructs an iterator from a pointer to the start of the range.
ptr | A pointer to the start of the range. |
|
inline |
Dereference the iterator to get the current value.
|
inline |
Increment the iterator to the next value.
|
inline |
Dereference the iterator to get the current value.
Comparison operators for the iterator.
|
friend |
Comparison operators for the iterator.
Comparison operators for the iterator.
|
friend |
Comparison operators for the iterator.