Lines Matching refs:operator
123 Iterator& operator=(const Iterator&) = default; variable
124 Iterator& operator=(Iterator&&) = default; variable
136 bool operator==(const Iterator& rhs) const { return position_ == rhs.position_; }
137 bool operator!=(const Iterator& rhs) const { return !(*this == rhs); }
138 bool operator<(const Iterator& rhs) const { return position_ < rhs.position_; }
139 bool operator>(const Iterator& rhs) const { return rhs < *this; }
140 bool operator<=(const Iterator& rhs) const { return !(rhs < *this); }
141 bool operator>=(const Iterator& rhs) const { return !(*this < rhs); }
143 Iterator& operator++() { // Value after modification.
148 Iterator operator++(int) {
154 Iterator& operator+=(difference_type delta) {
159 Iterator operator+(difference_type delta) const {
165 Iterator& operator--() { // Value after modification.
170 Iterator operator--(int) {
176 Iterator& operator-=(difference_type delta) {
181 Iterator operator-(difference_type delta) const {
187 difference_type operator-(const Iterator& rhs) {
191 reference operator*() const {
195 pointer operator->() const {
199 reference operator[](difference_type n) const {
209 friend bool operator<(const Iterator<U>& lhs, const Iterator<U>& rhs);
253 const ElementType& operator[](size_t index) const {
257 ElementType& operator[](size_t index) {
296 T* operator[](size_t index) const {