Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qset.h File Reference

(92acc94fa98d19929d28feb5d543acf8c50c2290)

#include <QtCore/qhash.h>
#include <QtCore/qcontainertools_impl.h>
#include <initializer_list>
#include <iterator>
+ Include dependency graph for qset.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QSet< T >
 
class  QSet< T >::iterator
 
class  QSet< T >::const_iterator
 
class  QMutableSetIterator< T >
 

Functions

template<typename InputIterator , typename ValueType = typename std::iterator_traits<InputIterator>::value_type, QtPrivate::IfIsInputIterator< InputIterator > = true>
 QSet (InputIterator, InputIterator) -> QSet< ValueType >
 
template<typename T >
size_t qHash (const QSet< T > &key, size_t seed=0) noexcept(noexcept(qHashRangeCommutative(key.begin(), key.end(), seed)))
 
template<typename T , typename Predicate >
qsizetype erase_if (QSet< T > &set, Predicate pred)
 

Function Documentation

◆ erase_if()

template<typename T , typename Predicate >
qsizetype erase_if ( QSet< T > & set,
Predicate pred )

Definition at line 347 of file qset.h.

References QtPrivate::qset_erase_if(), and set.

+ Here is the call graph for this function:

◆ qHash()

template<typename T >
size_t qHash ( const QSet< T > & key,
size_t seed = 0 )
noexcept

Definition at line 217 of file qset.h.

References qHashRangeCommutative(), and seed.

+ Here is the call graph for this function:

◆ QSet()

template<typename InputIterator , typename ValueType = typename std::iterator_traits<InputIterator>::value_type, QtPrivate::IfIsInputIterator< InputIterator > = true>
QSet ( InputIterator ,
InputIterator  ) -> QSet< ValueType >