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

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

Public Member Functions

 iterator (iterator_type iter, std::size_t index=0)
 
auto operator* () -> value_index_pair< iterator_type > &
 
auto operator++ (int) -> iterator
 
auto operator++ () -> iterator &
 
auto operator== (const iterator &other) const -> bool
 
auto operator!= (const iterator &other) const -> bool
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ iterator()

template<typename Range >
kblib::detail_cry::value_and_index_impl< Range >::iterator::iterator ( iterator_type  iter,
std::size_t  index = 0 
)
inline

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

Member Function Documentation

◆ operator!=()

template<typename Range >
auto kblib::detail_cry::value_and_index_impl< Range >::iterator::operator!= ( const iterator other) const -> bool
inline

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

◆ operator*()

template<typename Range >
auto kblib::detail_cry::value_and_index_impl< Range >::iterator::operator* ( ) -> value_index_pair<iterator_type>&
inline

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

◆ operator++() [1/2]

template<typename Range >
auto kblib::detail_cry::value_and_index_impl< Range >::iterator::operator++ ( ) -> iterator&
inline

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

◆ operator++() [2/2]

template<typename Range >
auto kblib::detail_cry::value_and_index_impl< Range >::iterator::operator++ ( int  ) -> iterator
inline

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

◆ operator==()

template<typename Range >
auto kblib::detail_cry::value_and_index_impl< Range >::iterator::operator== ( const iterator other) const -> bool
inline

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


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