userver: utils::TrivialBiMap< BuilderFunc >::iterator Class Reference
Loading...
Searching...
No Matches
utils::TrivialBiMap< BuilderFunc >::iterator Class Reference

Detailed Description

template<typename BuilderFunc>
class utils::TrivialBiMap< BuilderFunc >::iterator

Definition at line 756 of file trivial_map.hpp.

Public Types

using iterator_category = std::input_iterator_tag
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

constexpr iterator (const TrivialBiMap &map, std::size_t position)
 
constexpr bool operator== (iterator other) const
 
constexpr bool operator!= (iterator other) const
 
constexpr iterator operator++ ()
 
constexpr iterator operator++ (int)
 
constexpr value_type operator* () const
 

Member Typedef Documentation

◆ difference_type

template<typename BuilderFunc >
using utils::TrivialBiMap< BuilderFunc >::iterator::difference_type = std::ptrdiff_t

Definition at line 759 of file trivial_map.hpp.

◆ iterator_category

template<typename BuilderFunc >
using utils::TrivialBiMap< BuilderFunc >::iterator::iterator_category = std::input_iterator_tag

Definition at line 758 of file trivial_map.hpp.

Constructor & Destructor Documentation

◆ iterator()

template<typename BuilderFunc >
constexpr utils::TrivialBiMap< BuilderFunc >::iterator::iterator ( const TrivialBiMap & map,
std::size_t position )
inlineexplicitconstexpr

Definition at line 761 of file trivial_map.hpp.

Member Function Documentation

◆ operator!=()

template<typename BuilderFunc >
constexpr bool utils::TrivialBiMap< BuilderFunc >::iterator::operator!= ( iterator other) const
inlineconstexpr

Definition at line 768 of file trivial_map.hpp.

◆ operator*()

template<typename BuilderFunc >
constexpr value_type utils::TrivialBiMap< BuilderFunc >::iterator::operator* ( ) const
inlineconstexpr

Definition at line 783 of file trivial_map.hpp.

◆ operator++() [1/2]

template<typename BuilderFunc >
constexpr iterator utils::TrivialBiMap< BuilderFunc >::iterator::operator++ ( )
inlineconstexpr

Definition at line 772 of file trivial_map.hpp.

◆ operator++() [2/2]

template<typename BuilderFunc >
constexpr iterator utils::TrivialBiMap< BuilderFunc >::iterator::operator++ ( int )
inlineconstexpr

Definition at line 777 of file trivial_map.hpp.

◆ operator==()

template<typename BuilderFunc >
constexpr bool utils::TrivialBiMap< BuilderFunc >::iterator::operator== ( iterator other) const
inlineconstexpr

Definition at line 764 of file trivial_map.hpp.


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