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

#include <kblib/enumerate-contrib-tw.h>

Public Types

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

Public Member Functions

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

Public Attributes

It r_begin
 
EndIt r_end
 

Detailed Description

template<typename It, typename EndIt>
struct kblib::enumerate_t< It, EndIt >
Author
Tobias Widlund, killerbee
Date
2018-2020

Definition at line 137 of file enumerate-contrib-tw.h.

Member Typedef Documentation

◆ end_iterator

template<typename It , typename EndIt >
using kblib::enumerate_t< It, EndIt >::end_iterator = enumerate_iterator<EndIt>

Definition at line 140 of file enumerate-contrib-tw.h.

◆ iterator

template<typename It , typename EndIt >
using kblib::enumerate_t< It, EndIt >::iterator = enumerate_iterator<nested_iterator>

Definition at line 139 of file enumerate-contrib-tw.h.

◆ nested_iterator

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

Definition at line 138 of file enumerate-contrib-tw.h.

Member Function Documentation

◆ begin()

template<typename It , typename EndIt >
constexpr auto kblib::enumerate_t< It, EndIt >::begin ( ) const & -> iterator
inlineconstexprnoexcept

Definition at line 142 of file enumerate-contrib-tw.h.

◆ end()

template<typename It , typename EndIt >
constexpr auto kblib::enumerate_t< It, EndIt >::end ( ) const & -> end_iterator
inlineconstexprnoexcept

Definition at line 144 of file enumerate-contrib-tw.h.

Member Data Documentation

◆ r_begin

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

Definition at line 148 of file enumerate-contrib-tw.h.

◆ r_end

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

Definition at line 149 of file enumerate-contrib-tw.h.


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