| 115 | const_iterator operator++(int) { const_iterator copy(*this); ++(*this); return copy; } |
| 116 | const_iterator operator--(int) { const_iterator copy(*this); --(*this); return copy; } |
| 117 | difference_type friend operator-(const_iterator a, const_iterator b) { return (&(*a) - &(*b)); } |
| 118 | const_iterator operator+(size_type n) { return const_iterator(ptr + n); } |
| 119 | const_iterator& operator+=(size_type n) { ptr += n; return *this; } |
| 120 | const_iterator operator-(size_type n) { return const_iterator(ptr - n); } |
nothing calls this directly
no test coverage detected