Lines Matching refs:StrideIterator

27 class StrideIterator {
35 StrideIterator(const StrideIterator&) = default;
36 StrideIterator(StrideIterator&&) noexcept = default;
37 StrideIterator& operator=(const StrideIterator&) = default;
38 StrideIterator& operator=(StrideIterator&&) noexcept = default;
40 StrideIterator(T* ptr, size_t stride) in StrideIterator() function
44 bool operator==(const StrideIterator& other) const {
49 bool operator!=(const StrideIterator& other) const {
53 StrideIterator& operator++() { // Value after modification.
58 StrideIterator operator++(int) {
59 StrideIterator<T> temp = *this;
64 StrideIterator& operator--() { // Value after modification.
69 StrideIterator operator--(int) {
70 StrideIterator<T> temp = *this;
75 StrideIterator& operator+=(difference_type delta) {
80 StrideIterator operator+(difference_type delta) const {
81 StrideIterator<T> temp = *this;
86 StrideIterator& operator-=(difference_type delta) {
91 StrideIterator operator-(difference_type delta) const {
92 StrideIterator<T> temp = *this;
97 difference_type operator-(const StrideIterator& rhs) {
121 friend bool operator<(const StrideIterator<U>& lhs, const StrideIterator<U>& rhs);
125 StrideIterator<T> operator+(typename StrideIterator<T>::difference_type dist,
126 const StrideIterator<T>& it) {
131 bool operator<(const StrideIterator<T>& lhs, const StrideIterator<T>& rhs) {
137 bool operator>(const StrideIterator<T>& lhs, const StrideIterator<T>& rhs) {
142 bool operator<=(const StrideIterator<T>& lhs, const StrideIterator<T>& rhs) {
147 bool operator>=(const StrideIterator<T>& lhs, const StrideIterator<T>& rhs) {