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
QHashPrivate Namespace Reference

Namespaces

namespace  GrowthPolicy
 

Classes

struct  Data
 
struct  iterator
 
struct  MultiNode
 
struct  MultiNodeChain
 
struct  Node
 
struct  Node< Key, QHashDummyValue >
 
struct  Span
 
struct  SpanConstants
 

Functions

template<typename T >
size_t calculateHash (const T &t, size_t seed=0)
 
template<typename Node >
constexpr bool isRelocatable ()
 
Q_DECL_CONST_FUNCTION constexpr size_t hash (size_t key, size_t seed) noexcept
 
template<typename T1 , typename T2 >
static constexpr bool noexceptPairHash ()
 

Variables

template<typename T , typename = void>
constexpr bool HasQHashOverload = false
 
template<typename T , typename = void>
constexpr bool HasStdHashSpecializationWithSeed = false
 
template<typename T , typename = void>
constexpr bool HasStdHashSpecializationWithoutSeed = false
 
template<typename Key , typename T >
constexpr bool HeterogeneouslySearchableWith = false
 

Function Documentation

◆ calculateHash()

template<typename T >
size_t QHashPrivate::calculateHash ( const T & t,
size_t seed = 0 )

Definition at line 54 of file qhash.h.

References Q_UNUSED, qHash(), and seed.

Referenced by QHashPrivate::Data< Node >::erase(), and QHashPrivate::Data< Node >::findBucket().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hash()

Q_DECL_CONST_FUNCTION constexpr size_t QHashPrivate::hash ( size_t key,
size_t seed )
constexprnoexcept

◆ isRelocatable()

template<typename Node >
constexpr bool QHashPrivate::isRelocatable ( )
constexpr

Definition at line 216 of file qhash.h.

◆ noexceptPairHash()

template<typename T1 , typename T2 >
static constexpr bool QHashPrivate::noexceptPairHash ( )
staticconstexpr

Definition at line 358 of file qhashfunctions.h.

References noexceptPairHash(), qHash(), and seed.

Referenced by noexceptPairHash().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ HasQHashOverload

template<typename T , typename = void>
constexpr bool QHashPrivate::HasQHashOverload = false
inlineconstexpr

Definition at line 30 of file qhash.h.

◆ HasStdHashSpecializationWithoutSeed

template<typename T , typename = void>
constexpr bool QHashPrivate::HasStdHashSpecializationWithoutSeed = false
inlineconstexpr

Definition at line 46 of file qhash.h.

◆ HasStdHashSpecializationWithSeed

template<typename T , typename = void>
constexpr bool QHashPrivate::HasStdHashSpecializationWithSeed = false
inlineconstexpr

Definition at line 38 of file qhash.h.

◆ HeterogeneouslySearchableWith

template<typename Key , typename T >
constexpr bool QHashPrivate::HeterogeneouslySearchableWith = false
constexpr

Definition at line 251 of file qhashfunctions.h.