An 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.
|
|
| | 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.
|
|
| 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.
|
template<typename ScalarType>
struct argon::vectorize::load_store< ScalarType >::Iterator
An iterator for the vectorized view.
◆ Iterator()
template<typename ScalarType>
Constructs an 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 iterator to get the current value.
- Returns
- A reference to the current value.
◆ operator++()
template<typename ScalarType>
Increment the iterator to the next value.
- Returns
- A reference to the iterator itself.
◆ operator->()
template<typename ScalarType>
Dereference the iterator to get the current value.
- Returns
- A pointer to the current value.
◆ operator!= [1/2]
template<typename ScalarType>
| bool operator!= |
( |
const Iterator & | a, |
|
|
const Iterator & | b ) |
|
friend |
Comparison operators for the iterator.
- Returns
- True if the iterators are not equal, false otherwise.
◆ operator!= [2/2]
template<typename ScalarType>
| bool operator!= |
( |
const Iterator & | a, |
|
|
const ScalarType * | ptr ) |
|
friend |
Comparison operators for the iterator.
- Returns
- True if the iterators are not equal, false otherwise.
◆ operator== [1/2]
template<typename ScalarType>
| bool operator== |
( |
const Iterator & | a, |
|
|
const Iterator & | b ) |
|
friend |
Comparison operators for the iterator.
- Returns
- True if the iterators are equal, false otherwise.
◆ operator== [2/2]
template<typename ScalarType>
| bool operator== |
( |
const Iterator & | a, |
|
|
const ScalarType * | ptr ) |
|
friend |
Comparison operators for the iterator.
- Returns
- True if the iterators are equal, false otherwise.
The documentation for this struct was generated from the following file: