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
QSet< T > Class Template Reference

#include <qset.h>

+ Collaboration diagram for QSet< T >:

Public Member Functions

 QSet () noexcept
 
 QSet (std::initializer_list< T > list)
 
template<typename InputIterator, QtPrivate::IfIsInputIterator< InputIterator > = true>
 QSet (InputIterator first, InputIterator last)
 
void swap (QSet< T > &other) noexcept
 
template<typename E>
Q_INLINE_TEMPLATE void _emplace_or_overwrite (E &&e)
 

Friends

template<typename U = T, QTypeTraits::compare_eq_result_container< QSet, U > = true>
bool comparesEqual (const QSet &lhs, const QSet &rhs) noexcept
 
QSet operator| (const QSet &lhs, const QSet &rhs)
 
QSet operator| (QSet &&lhs, const QSet &rhs)
 
QSet operator| (const QSet &lhs, QSet &&rhs)
 
QSet operator| (QSet &&lhs, QSet &&rhs)
 
QSet operator& (const QSet &lhs, const QSet &rhs)
 
QSet operator& (QSet &&lhs, const QSet &rhs)
 
QSet operator+ (const QSet &lhs, const QSet &rhs)
 
QSet operator+ (QSet &&lhs, const QSet &rhs)
 
QSet operator+ (const QSet &lhs, QSet &&rhs)
 
QSet operator+ (QSet &&lhs, QSet &&rhs)
 
QSet operator- (const QSet &lhs, const QSet &rhs)
 
QSet operator- (QSet &&lhs, const QSet &rhs)
 

Detailed Description

template<class T>
class QSet< T >

Definition at line 18 of file qset.h.

Constructor & Destructor Documentation

◆ QSet() [1/3]

template<class T>
QSet< T >::QSet ( )
inlinenoexcept

Definition at line 23 of file qset.h.

◆ QSet() [2/3]

template<class T>
QSet< T >::QSet ( std::initializer_list< T > list)
inline

Definition at line 24 of file qset.h.

◆ QSet() [3/3]

template<class T>
template<typename InputIterator, QtPrivate::IfIsInputIterator< InputIterator > = true>
QSet< T >::QSet ( InputIterator first,
InputIterator last )
inline

Definition at line 27 of file qset.h.

Member Function Documentation

◆ _emplace_or_overwrite()

template<class T>
template<typename E>
Q_INLINE_TEMPLATE void QSet< T >::_emplace_or_overwrite ( E && e)

Definition at line 285 of file qset.h.

◆ swap()

template<class T>
void QSet< T >::swap ( QSet< T > & other)
inlinenoexcept

Definition at line 37 of file qset.h.

Friends And Related Symbol Documentation

◆ comparesEqual

template<class T>
template<typename U = T, QTypeTraits::compare_eq_result_container< QSet, U > = true>
bool comparesEqual ( const QSet< T > & lhs,
const QSet< T > & rhs )
friend

Definition at line 42 of file qset.h.

◆ operator& [1/2]

template<class T>
QSet operator& ( const QSet< T > & lhs,
const QSet< T > & rhs )
friend

Definition at line 205 of file qset.h.

◆ operator& [2/2]

template<class T>
QSet operator& ( QSet< T > && lhs,
const QSet< T > & rhs )
friend

Definition at line 206 of file qset.h.

◆ operator+ [1/4]

template<class T>
QSet operator+ ( const QSet< T > & lhs,
const QSet< T > & rhs )
friend

Definition at line 208 of file qset.h.

◆ operator+ [2/4]

template<class T>
QSet operator+ ( const QSet< T > & lhs,
QSet< T > && rhs )
friend

Definition at line 210 of file qset.h.

◆ operator+ [3/4]

template<class T>
QSet operator+ ( QSet< T > && lhs,
const QSet< T > & rhs )
friend

Definition at line 209 of file qset.h.

◆ operator+ [4/4]

template<class T>
QSet operator+ ( QSet< T > && lhs,
QSet< T > && rhs )
friend

Definition at line 211 of file qset.h.

◆ operator- [1/2]

template<class T>
QSet operator- ( const QSet< T > & lhs,
const QSet< T > & rhs )
friend

Definition at line 213 of file qset.h.

◆ operator- [2/2]

template<class T>
QSet operator- ( QSet< T > && lhs,
const QSet< T > & rhs )
friend

Definition at line 214 of file qset.h.

◆ operator| [1/4]

template<class T>
QSet operator| ( const QSet< T > & lhs,
const QSet< T > & rhs )
friend

Definition at line 200 of file qset.h.

◆ operator| [2/4]

template<class T>
QSet operator| ( const QSet< T > & lhs,
QSet< T > && rhs )
friend

Definition at line 202 of file qset.h.

◆ operator| [3/4]

template<class T>
QSet operator| ( QSet< T > && lhs,
const QSet< T > & rhs )
friend

Definition at line 201 of file qset.h.

◆ operator| [4/4]

template<class T>
QSet operator| ( QSet< T > && lhs,
QSet< T > && rhs )
friend

Definition at line 203 of file qset.h.


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