userver: formats::common::ItemsWrapper< Value >::Iterator< Const > Class Template Reference
Loading...
Searching...
No Matches
formats::common::ItemsWrapper< Value >::Iterator< Const > Class Template Referencefinal

#include <userver/formats/common/items.hpp>

Detailed Description

template<typename Value>
template<bool Const>
class formats::common::ItemsWrapper< Value >::Iterator< Const >

Exposition-only, do not instantiate directly, use iterator and const_iterator aliases instead.

Definition at line 32 of file items.hpp.

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = ItemsWrapperValue<Base>
 
using reference = value_type
 
using pointer = void
 

Public Member Functions

 Iterator (const Iterator &other)=default
 
 Iterator (Iterator &&other) noexcept=default
 
Iteratoroperator= (const Iterator &other)=default
 
Iteratoroperator= (Iterator &&other) noexcept=default
 
reference operator* () const
 
Iterator operator++ (int)
 
Iteratoroperator++ ()
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 

Member Typedef Documentation

◆ difference_type

template<typename Value >
template<bool Const>
using formats::common::ItemsWrapper< Value >::Iterator< Const >::difference_type = std::ptrdiff_t

Definition at line 38 of file items.hpp.

◆ iterator_category

template<typename Value >
template<bool Const>
using formats::common::ItemsWrapper< Value >::Iterator< Const >::iterator_category = std::forward_iterator_tag

Definition at line 37 of file items.hpp.

◆ pointer

template<typename Value >
template<bool Const>
using formats::common::ItemsWrapper< Value >::Iterator< Const >::pointer = void

Definition at line 41 of file items.hpp.

◆ reference

template<typename Value >
template<bool Const>
using formats::common::ItemsWrapper< Value >::Iterator< Const >::reference = value_type

Definition at line 40 of file items.hpp.

◆ value_type

template<typename Value >
template<bool Const>
using formats::common::ItemsWrapper< Value >::Iterator< Const >::value_type = ItemsWrapperValue<Base>

Definition at line 39 of file items.hpp.

Member Function Documentation

◆ operator!=()

template<typename Value >
template<bool Const>
bool formats::common::ItemsWrapper< Value >::Iterator< Const >::operator!= ( const Iterator< Const > & other) const
inline

Definition at line 68 of file items.hpp.

◆ operator*()

template<typename Value >
template<bool Const>
reference formats::common::ItemsWrapper< Value >::Iterator< Const >::operator* ( ) const
inline

Definition at line 53 of file items.hpp.

◆ operator++() [1/2]

template<typename Value >
template<bool Const>
Iterator & formats::common::ItemsWrapper< Value >::Iterator< Const >::operator++ ( )
inline

Definition at line 61 of file items.hpp.

◆ operator++() [2/2]

template<typename Value >
template<bool Const>
Iterator formats::common::ItemsWrapper< Value >::Iterator< Const >::operator++ ( int )
inline

Definition at line 55 of file items.hpp.

◆ operator==()

template<typename Value >
template<bool Const>
bool formats::common::ItemsWrapper< Value >::Iterator< Const >::operator== ( const Iterator< Const > & other) const
inline

Definition at line 66 of file items.hpp.


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