momo  3.9
momo::internal::MapPairConverter< TIterator > Class Template Reference

#include <MapUtility.h>

Public Types

typedef TIterator Iterator
 

Static Public Member Functions

template<typename Pair , typename KeyArg = decltype(std::declval<Pair>().key), typename ValueArg = decltype(std::declval<Pair>().value)>
static std::pair< KeyArg, ValueArg > Convert (const Pair &pair) noexcept
 
template<typename KeyArg , typename ValueArg >
static std::pair< KeyArg &&, ValueArg && > Convert (std::pair< KeyArg, ValueArg > &&pair) noexcept
 
template<typename KeyArg , typename ValueArg >
static std::pair< const KeyArg &, const ValueArg & > Convert (const std::pair< KeyArg, ValueArg > &pair) noexcept
 

Member Typedef Documentation

◆ Iterator

template<typename TIterator >
typedef TIterator momo::internal::MapPairConverter< TIterator >::Iterator

Member Function Documentation

◆ Convert() [1/3]

template<typename TIterator >
template<typename Pair , typename KeyArg = decltype(std::declval<Pair>().key), typename ValueArg = decltype(std::declval<Pair>().value)>
static std::pair<KeyArg, ValueArg> momo::internal::MapPairConverter< TIterator >::Convert ( const Pair &  pair)
inlinestaticnoexcept

◆ Convert() [2/3]

template<typename TIterator >
template<typename KeyArg , typename ValueArg >
static std::pair<const KeyArg&, const ValueArg&> momo::internal::MapPairConverter< TIterator >::Convert ( const std::pair< KeyArg, ValueArg > &  pair)
inlinestaticnoexcept

◆ Convert() [3/3]

template<typename TIterator >
template<typename KeyArg , typename ValueArg >
static std::pair<KeyArg&&, ValueArg&&> momo::internal::MapPairConverter< TIterator >::Convert ( std::pair< KeyArg, ValueArg > &&  pair)
inlinestaticnoexcept

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