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 730 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 733 of file trivial_map.hpp.

◆ iterator_category

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

Definition at line 732 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 735 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 739 of file trivial_map.hpp.

◆ operator*()

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

Definition at line 752 of file trivial_map.hpp.

◆ operator++() [1/2]

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

Definition at line 741 of file trivial_map.hpp.

◆ operator++() [2/2]

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

Definition at line 746 of file trivial_map.hpp.

◆ operator==()

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

Definition at line 737 of file trivial_map.hpp.


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