Class enumerate_range::iterator

Nested Relationships

This class is a nested type of Template Struct enumerate_range.

Nested Types

Class Documentation

class util::enumerate_range::iterator

Public Types

using size_type = typename Container::size_type
using value_type = typename Container::value_type
using pointer = typename std::conditional_t<Const, const value_type*, value_type*>
using reference = typename std::conditional_t<Const, const value_type&, value_type&>
using container_iterator = typename std::conditional_t<Const, typename Container::const_iterator, typename Container::iterator>

Public Functions

iterator(container_iterator iterator)
auto operator!=(const iterator &other) -> bool
auto operator++() -> iterator&
auto operator*() const -> pair
struct pair

Public Members

size_type pos
reference ref