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
qmap.h File Reference

(c05ae82efb33507959ae2082483fb9425ccca8a0)

#include <QtCore/qcompare.h>
#include <QtCore/qhashfunctions.h>
#include <QtCore/qiterator.h>
#include <QtCore/qlist.h>
#include <QtCore/qrefcount.h>
#include <QtCore/qpair.h>
#include <QtCore/qshareddata.h>
#include <QtCore/qshareddata_impl.h>
#include <QtCore/qttypetraits.h>
#include <functional>
#include <initializer_list>
#include <map>
#include <algorithm>
Include dependency graph for qmap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QMapData< AMap >
struct  QMapData< AMap >::EraseResult
class  QMap< Key, T >
class  QMultiMap< Key, T >

Functions

template<typename Key, typename T, typename Predicate>
qsizetype erase_if (QMap< Key, T > &map, Predicate pred)
template<typename Key, typename T>
QMultiMap< Key, T > operator+ (const QMultiMap< Key, T > &lhs, const QMultiMap< Key, T > &rhs)
template<typename Key, typename T>
QMultiMap< Key, T > operator+= (QMultiMap< Key, T > &lhs, const QMultiMap< Key, T > &rhs)
template<typename Key, typename T, typename Predicate>
qsizetype erase_if (QMultiMap< Key, T > &map, Predicate pred)

Function Documentation

◆ erase_if() [1/2]

template<typename Key, typename T, typename Predicate>
qsizetype erase_if ( QMap< Key, T > & map,
Predicate pred )

Definition at line 822 of file qmap.h.

◆ erase_if() [2/2]

template<typename Key, typename T, typename Predicate>
qsizetype erase_if ( QMultiMap< Key, T > & map,
Predicate pred )

Definition at line 1616 of file qmap.h.

◆ operator+()

template<typename Key, typename T>
QMultiMap< Key, T > operator+ ( const QMultiMap< Key, T > & lhs,
const QMultiMap< Key, T > & rhs )

Definition at line 1602 of file qmap.h.

◆ operator+=()

template<typename Key, typename T>
QMultiMap< Key, T > operator+= ( QMultiMap< Key, T > & lhs,
const QMultiMap< Key, T > & rhs )

Definition at line 1610 of file qmap.h.