QtBase  v6.3.1
Public Types | Public Member Functions | Static Public Attributes | List of all members
QFlatMapValueCompare< Key, T, Compare > Class Template Reference

#include <qflatmap_p.h>

Inheritance diagram for QFlatMapValueCompare< Key, T, Compare >:
Inheritance graph
[legend]
Collaboration diagram for QFlatMapValueCompare< Key, T, Compare >:
Collaboration graph
[legend]

Public Types

using value_type = std::pair< const Key, T >
 

Public Member Functions

 QFlatMapValueCompare ()=default
 
 QFlatMapValueCompare (const Compare &key_compare)
 
bool operator() (const value_type &lhs, const value_type &rhs) const noexcept(is_comparator_noexcept)
 

Static Public Attributes

static constexpr bool is_comparator_noexcept
 

Detailed Description

template<class Key, class T, class Compare>
class QFlatMapValueCompare< Key, T, Compare >

Definition at line 88 of file qflatmap_p.h.

Member Typedef Documentation

◆ value_type

template<class Key , class T , class Compare >
using QFlatMapValueCompare< Key, T, Compare >::value_type = std::pair<const Key, T>

Definition at line 97 of file qflatmap_p.h.

Constructor & Destructor Documentation

◆ QFlatMapValueCompare() [1/2]

template<class Key , class T , class Compare >
QFlatMapValueCompare< Key, T, Compare >::QFlatMapValueCompare ( )
default

◆ QFlatMapValueCompare() [2/2]

template<class Key , class T , class Compare >
QFlatMapValueCompare< Key, T, Compare >::QFlatMapValueCompare ( const Compare key_compare)
inline

Definition at line 92 of file qflatmap_p.h.

Member Function Documentation

◆ operator()()

template<class Key , class T , class Compare >
bool QFlatMapValueCompare< Key, T, Compare >::operator() ( const value_type lhs,
const value_type rhs 
) const
inlinenoexcept

Definition at line 101 of file qflatmap_p.h.

Here is the call graph for this function:

Member Data Documentation

◆ is_comparator_noexcept

template<class Key , class T , class Compare >
constexpr bool QFlatMapValueCompare< Key, T, Compare >::is_comparator_noexcept
staticconstexpr
Initial value:
= noexcept(
std::declval<Compare>()(std::declval<Key>(), std::declval<Key>()))

Definition at line 98 of file qflatmap_p.h.


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