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

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

Inheritance diagram for kblib::detail_cry::value_and_index_base< Range, typename >:

Public Types

using iterator_type = decltype(std::begin(std::declval< Range & >()))
 

Public Member Functions

 value_and_index_base (Range &range)
 
auto range_begin () -> iterator_type
 
auto range_end () -> iterator_type
 

Public Attributes

iterator_type range_begin_
 
iterator_type range_end_
 

Detailed Description

template<typename Range, typename = void>
struct kblib::detail_cry::value_and_index_base< Range, typename >

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

Member Typedef Documentation

◆ iterator_type

template<typename Range , typename = void>
using kblib::detail_cry::value_and_index_base< Range, typename >::iterator_type = decltype(std::begin(std::declval<Range&>()))

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

Constructor & Destructor Documentation

◆ value_and_index_base()

template<typename Range , typename = void>
kblib::detail_cry::value_and_index_base< Range, typename >::value_and_index_base ( Range &  range)
inline

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

Member Function Documentation

◆ range_begin()

template<typename Range , typename = void>
auto kblib::detail_cry::value_and_index_base< Range, typename >::range_begin ( ) -> iterator_type
inline

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

◆ range_end()

template<typename Range , typename = void>
auto kblib::detail_cry::value_and_index_base< Range, typename >::range_end ( ) -> iterator_type
inline

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

Member Data Documentation

◆ range_begin_

template<typename Range , typename = void>
iterator_type kblib::detail_cry::value_and_index_base< Range, typename >::range_begin_

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

◆ range_end_

template<typename Range , typename = void>
iterator_type kblib::detail_cry::value_and_index_base< Range, typename >::range_end_

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


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