Searched refs:DifferenceType (Results 1 – 1 of 1) sorted by relevance
136 typedef typename BaseType::difference_type DifferenceType; typedef172 Iterator operator+(DifferenceType n) const { return Iterator(ptr_+n); }173 Iterator operator-(DifferenceType n) const { return Iterator(ptr_-n); }175 Iterator& operator+=(DifferenceType n) { ptr_+=n; return *this; }176 Iterator& operator-=(DifferenceType n) { ptr_-=n; return *this; }193 Reference operator[](DifferenceType n) const { return ptr_[n]; }197 DifferenceType operator-(ConstIterator that) const { return ptr_-that.ptr_; }