Template Class CountingIterator

Class Documentation

template<typename T = size_t>
class sgpl::CountingIterator

Public Types

using value_type = T
using pointer = value_type*
using reference = value_type&
using iterator_category = std::forward_iterator_tag
using difference_type = int

Public Functions

CountingIterator() = default
CountingIterator(const T &t)
value_type operator*() const
CountingIterator operator++(int)
CountingIterator &operator++()
CountingIterator operator+(const size_t rhs)
bool operator==(const CountingIterator &other) const
bool operator!=(const CountingIterator &other) const