kblib 0.2.3
General utilities library for modern C++
kblib::detail_cry::value_and_index_impl< Range > Struct Template Reference

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

Inheritance diagram for kblib::detail_cry::value_and_index_impl< Range >:
Collaboration diagram for kblib::detail_cry::value_and_index_impl< Range >:

Classes

struct  iterator
 

Public Types

using iterator_type = typename value_and_index_base< Range >::iterator_type
 
- Public Types inherited from kblib::detail_cry::value_and_index_base< Range, typename >
using iterator_type = decltype(std::begin(std::declval< Range & >()))
 

Public Member Functions

 value_and_index_impl (Range &range)
 
auto begin () -> iterator
 
auto end () -> iterator
 
- Public Member Functions inherited from kblib::detail_cry::value_and_index_base< Range, typename >
 value_and_index_base (Range &range)
 
auto range_begin () -> iterator_type
 
auto range_end () -> iterator_type
 

Additional Inherited Members

- Public Attributes inherited from kblib::detail_cry::value_and_index_base< Range, typename >
iterator_type range_begin_
 
iterator_type range_end_
 

Detailed Description

template<typename Range>
struct kblib::detail_cry::value_and_index_impl< Range >

Definition at line 103 of file enumerate-contrib-cry.h.

Member Typedef Documentation

◆ iterator_type

template<typename Range >
using kblib::detail_cry::value_and_index_impl< Range >::iterator_type = typename value_and_index_base<Range>::iterator_type

Definition at line 104 of file enumerate-contrib-cry.h.

Constructor & Destructor Documentation

◆ value_and_index_impl()

template<typename Range >
kblib::detail_cry::value_and_index_impl< Range >::value_and_index_impl ( Range &  range)
inline

Definition at line 106 of file enumerate-contrib-cry.h.

Member Function Documentation

◆ begin()

template<typename Range >
auto kblib::detail_cry::value_and_index_impl< Range >::begin ( ) -> iterator
inline

Definition at line 141 of file enumerate-contrib-cry.h.

◆ end()

template<typename Range >
auto kblib::detail_cry::value_and_index_impl< Range >::end ( ) -> iterator
inline

Definition at line 143 of file enumerate-contrib-cry.h.


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