Lines Matching defs:StrideIterator
27 class StrideIterator : public std::iterator<std::forward_iterator_tag, T> {
29 StrideIterator(const StrideIterator&) = default;
30 StrideIterator(StrideIterator&&) = default;
31 StrideIterator& operator=(const StrideIterator&) = default;
32 StrideIterator& operator=(StrideIterator&&) = default;
34 StrideIterator(T* ptr, size_t stride)
38 bool operator==(const StrideIterator& other) const {
43 bool operator!=(const StrideIterator& other) const {
47 StrideIterator operator++() { // Value after modification.
52 StrideIterator operator++(int) {
53 StrideIterator<T> temp = *this;
58 StrideIterator operator+(ssize_t delta) const {
59 StrideIterator<T> temp = *this;
64 StrideIterator& operator+=(ssize_t delta) {