A const iterator for the vectorized view.
More...
#include <load_store.hpp>
|
|
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.
|
|
| | 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.
|
|
| bool | operator== (const ConstIterator &a, const ConstIterator &b) |
| | Equivalence operator.
|
| bool | operator!= (const ConstIterator &a, const ConstIterator &b) |
| | Non-equivalence operator.
|
template<typename ScalarType>
struct argon::vectorize::load_store< ScalarType >::ConstIterator
A const iterator for the vectorized view.
◆ ConstIterator()
template<typename ScalarType>
Constructs a const iterator from a pointer to the start of the range.
- Parameters
-
| ptr | A pointer to the start of the range. |
◆ operator*()
template<typename ScalarType>
Dereference the const iterator to get the current value.
- Returns
- A reference to the current value.
◆ operator++() [1/2]
template<typename ScalarType>
Increment operator for the const iterator.
- Returns
- A reference to the const iterator itself.
◆ operator++() [2/2]
template<typename ScalarType>
Postfix increment operator for the const iterator.
- Returns
- A copy of the const iterator before incrementing.
◆ operator!=
template<typename ScalarType>
| bool operator!= |
( |
const ConstIterator & | a, |
|
|
const ConstIterator & | b ) |
|
friend |
Non-equivalence operator.
- Returns
- True if the const iterators are not equal, false otherwise.
◆ operator==
template<typename ScalarType>
| bool operator== |
( |
const ConstIterator & | a, |
|
|
const ConstIterator & | b ) |
|
friend |
Equivalence operator.
- Returns
- True if the const iterators are equal, false otherwise.
The documentation for this struct was generated from the following file: