LIEF: Library to Instrument Executable Formats Version 1.0.0
Loading...
Searching...
No Matches
frozen::impl::CompareKey< Comparator > Class Template Reference

#include <map.h>

Inheritance diagram for frozen::impl::CompareKey< Comparator >:
Collaboration diagram for frozen::impl::CompareKey< Comparator >:

Public Member Functions

constexpr Comparator const & key_comp () const noexcept
constexpr CompareKey (Comparator const &comparator)
template<class Key1, class Key2, class Value>
constexpr auto operator() (std::pair< Key1, Value > const &self, std::pair< Key2, Value > const &other) const -> decltype(key_comp()(std::get< 0 >(self), std::get< 0 >(other)))
template<class Key1, class Key2, class Value>
constexpr auto operator() (Key1 const &self_key, std::pair< Key2, Value > const &other) const -> decltype(key_comp()(self_key, std::get< 0 >(other)))
template<class Key1, class Key2, class Value>
constexpr auto operator() (std::pair< Key1, Value > const &self, Key2 const &other_key) const -> decltype(key_comp()(std::get< 0 >(self), other_key))
template<class Key1, class Key2>
constexpr auto operator() (Key1 const &self_key, Key2 const &other_key) const -> decltype(key_comp()(self_key, other_key))

Constructor & Destructor Documentation

◆ CompareKey()

template<class Comparator>
frozen::impl::CompareKey< Comparator >::CompareKey ( Comparator const & comparator)
inlineconstexpr

Member Function Documentation

◆ key_comp()

◆ operator()() [1/4]

template<class Comparator>
template<class Key1, class Key2>
auto frozen::impl::CompareKey< Comparator >::operator() ( Key1 const & self_key,
Key2 const & other_key ) const -> decltype(key_comp()(self_key, other_key))
inlineconstexpr

◆ operator()() [2/4]

template<class Comparator>
template<class Key1, class Key2, class Value>
auto frozen::impl::CompareKey< Comparator >::operator() ( Key1 const & self_key,
std::pair< Key2, Value > const & other ) const -> decltype(key_comp()(self_key, std::get< 0 >(other)))
inlineconstexpr

◆ operator()() [3/4]

template<class Comparator>
template<class Key1, class Key2, class Value>
auto frozen::impl::CompareKey< Comparator >::operator() ( std::pair< Key1, Value > const & self,
Key2 const & other_key ) const -> decltype(key_comp()(std::get< 0 >(self), other_key))
inlineconstexpr

◆ operator()() [4/4]

template<class Comparator>
template<class Key1, class Key2, class Value>
auto frozen::impl::CompareKey< Comparator >::operator() ( std::pair< Key1, Value > const & self,
std::pair< Key2, Value > const & other ) const -> decltype(key_comp()(std::get< 0 >(self), std::get< 0 >(other)))
inlineconstexpr

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