Public Types | |
using | pointer = void |
using | reference = T |
using | difference_type = std::make_signed_t< T > |
using | value_type = T |
using | iterator_category = std::random_access_iterator_tag |
Public Member Functions | |
constexpr | CountingIterator (T counter) |
constexpr value_type | operator* () const |
constexpr value_type | operator[] (T i) const |
CountingIterator & | operator++ () |
CountingIterator | operator++ (int) |
CountingIterator & | operator-- () |
CountingIterator | operator-- (int) |
constexpr CountingIterator | operator+ (T n) const |
CountingIterator & | operator+= (T n) |
constexpr CountingIterator | operator- (T n) const |
CountingIterator & | operator-= (T n) |
constexpr | operator CountingIterator< const T > () const |
Friends | |
constexpr friend bool | operator== (CountingIterator a, CountingIterator b) |
constexpr friend bool | operator!= (CountingIterator a, CountingIterator b) |
constexpr friend bool | operator< (CountingIterator a, CountingIterator b) |
constexpr friend difference_type | operator- (CountingIterator a, CountingIterator b) |