kblib 0.2.3
General utilities library for modern C++
kblib::enumerator_t< It, EndIt > Class Template Reference

#include <kblib/iterators.h>

Public Types

using nested_iterator = It
 
using iterator = enumerator_iterator< nested_iterator >
 
using end_iterator = enumerator_iterator< EndIt >
 

Public Member Functions

auto begin () const &noexcept -> iterator
 
auto end () const &noexcept -> end_iterator
 

Public Attributes

It r_begin
 
EndIt r_end
 

Detailed Description

template<typename It, typename EndIt>
class kblib::enumerator_t< It, EndIt >

Definition at line 955 of file iterators.h.

Member Typedef Documentation

◆ end_iterator

template<typename It , typename EndIt >
using kblib::enumerator_t< It, EndIt >::end_iterator = enumerator_iterator<EndIt>

Definition at line 959 of file iterators.h.

◆ iterator

template<typename It , typename EndIt >
using kblib::enumerator_t< It, EndIt >::iterator = enumerator_iterator<nested_iterator>

Definition at line 958 of file iterators.h.

◆ nested_iterator

template<typename It , typename EndIt >
using kblib::enumerator_t< It, EndIt >::nested_iterator = It

Definition at line 957 of file iterators.h.

Member Function Documentation

◆ begin()

template<typename It , typename EndIt >
auto kblib::enumerator_t< It, EndIt >::begin ( ) const & -> iterator
inlinenoexcept

Definition at line 961 of file iterators.h.

◆ end()

template<typename It , typename EndIt >
auto kblib::enumerator_t< It, EndIt >::end ( ) const & -> end_iterator
inlinenoexcept

Definition at line 963 of file iterators.h.

Member Data Documentation

◆ r_begin

template<typename It , typename EndIt >
It kblib::enumerator_t< It, EndIt >::r_begin

Definition at line 965 of file iterators.h.

◆ r_end

template<typename It , typename EndIt >
EndIt kblib::enumerator_t< It, EndIt >::r_end

Definition at line 966 of file iterators.h.


The documentation for this class was generated from the following file: