|
Argon 0.1.0
|
A const 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 | |
| ConstIterator (const ScalarType *ptr) | |
| Constructs a const iterator from a pointer to the start of the range. | |
| const value_type | operator* () const |
| Dereference the const iterator to get the current value. | |
| ConstIterator & | operator++ () |
| Increment operator for the const iterator. | |
| ConstIterator | operator++ (int) |
| Postfix increment operator for the const iterator. | |
Friends | |
| bool | operator== (const ConstIterator &a, const ConstIterator &b) |
| Equivalence operator. | |
| bool | operator!= (const ConstIterator &a, const ConstIterator &b) |
| Non-equivalence operator. | |
A const iterator for the vectorized view.
|
inline |
Constructs a const iterator from a pointer to the start of the range.
| ptr | A pointer to the start of the range. |
|
inline |
Dereference the const iterator to get the current value.
|
inline |
Increment operator for the const iterator.
|
inline |
Postfix increment operator for the const iterator.
|
friend |
Non-equivalence operator.
|
friend |
Equivalence operator.