Classes | Public Member Functions | Public Attributes | List of all members
util::details::RangeForWrapperIterator< BeginIter, EndIter >::IndexAccessor Struct Reference

Visitor to access element by index. More...

Inheritance diagram for util::details::RangeForWrapperIterator< BeginIter, EndIter >::IndexAccessor:

Classes

struct  IndexAccessorImpl
 
struct  IndexAccessorImpl< Result, Iter, std::enable_if_t< is_type_v< decltype((std::declval< Iter >())[0])> > >
 

Public Member Functions

 IndexAccessor (difference_type offset)
 
template<typename Iter >
bool operator() (Iter &iter) const
 

Public Attributes

difference_type offset
 

Detailed Description

template<typename BeginIter, typename EndIter>
struct util::details::RangeForWrapperIterator< BeginIter, EndIter >::IndexAccessor

Visitor to access element by index.

Definition at line 196 of file RangeForWrapper.h.

Constructor & Destructor Documentation

template<typename BeginIter , typename EndIter >
util::details::RangeForWrapperIterator< BeginIter, EndIter >::IndexAccessor::IndexAccessor ( difference_type  offset)
inline

Definition at line 200 of file RangeForWrapper.h.

Member Function Documentation

template<typename BeginIter , typename EndIter >
template<typename Iter >
bool util::details::RangeForWrapperIterator< BeginIter, EndIter >::IndexAccessor::operator() ( Iter &  iter) const
inline

Definition at line 203 of file RangeForWrapper.h.

204  { return IndexAccessorImpl<reference, Iter>(offset).access(iter); }
def access(path, mode)

Member Data Documentation

template<typename BeginIter , typename EndIter >
difference_type util::details::RangeForWrapperIterator< BeginIter, EndIter >::IndexAccessor::offset

Definition at line 198 of file RangeForWrapper.h.


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