Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QFlatMapValueCompare< Key, T, Compare > Class Template Reference

#include <qflatmap_p.h>

Inheritance diagram for QFlatMapValueCompare< Key, T, Compare >:
Collaboration diagram for QFlatMapValueCompare< Key, T, Compare >:

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

Additional Inherited Members

Protected Member Functions inherited from Compare
bool operator() (const QAnyStringView &typeName, const MetaType &type) const
bool operator() (const MetaType &type, const QAnyStringView &typeName) const
bool operator() (const QAnyStringView &typeName, const MetaType &type) const
bool operator() (const MetaType &type, const QAnyStringView &typeName) const

Detailed Description

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

Definition at line 66 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 75 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 70 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 79 of file qflatmap_p.h.

Member Data Documentation

◆ is_comparator_noexcept

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

Definition at line 76 of file qflatmap_p.h.


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