#include <PtrStridedIterator.h>
Public Types | |
using | difference_type = std::ptrdiff_t |
using | value_type = T |
using | pointer = T * |
using | reference = T & |
using | iterator_category = std::random_access_iterator_tag |
Public Member Functions | |
PtrStridedIterator (pointer ptr, difference_type strd=1) | |
PtrStridedIterator (const PtrStridedIterator &)=default | |
PtrStridedIterator (PtrStridedIterator &&)=default | |
PtrStridedIterator & | operator= (const PtrStridedIterator &other)=default |
PtrStridedIterator & | operator= (PtrStridedIterator &&other)=default |
pointer | ptr () const |
difference_type | stride () const |
reference | operator[] (difference_type i) const |
reference | operator* () const |
reference | operator-> () const |
PtrStridedIterator & | operator+= (difference_type offset) |
PtrStridedIterator & | operator-= (difference_type offset) |
PtrStridedIterator | operator+ (difference_type offset) const |
PtrStridedIterator | operator- (difference_type offset) const |
difference_type | operator- (const PtrStridedIterator &other) const |
PtrStridedIterator & | operator++ () |
PtrStridedIterator | operator++ (int) |
PtrStridedIterator & | operator-- () |
PtrStridedIterator | operator-- (int) |
bool | operator== (const PtrStridedIterator &other) const |
bool | operator< (const PtrStridedIterator &other) const |
bool | operator> (const PtrStridedIterator &other) const |
bool | operator!= (const PtrStridedIterator &other) const |
bool | operator<= (const PtrStridedIterator &other) const |
bool | operator>= (const PtrStridedIterator &other) const |
operator bool () const | |
Random access iterator with adjustable iteration step (stride). The iterator will skip over multiple entries when it is incremented or decremented.
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |