#include <HashTraits.h>
◆ Bucket
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
template<typename ItemTraits >
◆ EqualFunc
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
◆ HashBucket
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
◆ HashFunc
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
◆ IsValidKeyArg
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
template<typename KeyArg >
◆ Key
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
◆ HashTraitsStd() [1/2]
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
◆ HashTraitsStd() [2/2]
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
◆ CalcCapacity()
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
size_t momo::HashTraitsStd< TKey, THashFunc, TEqualFunc, THashBucket >::CalcCapacity |
( |
size_t |
bucketCount, |
|
|
size_t |
bucketMaxItemCount |
|
) |
| const |
|
inlinenoexcept |
◆ GetBucketCountShift()
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
size_t momo::HashTraitsStd< TKey, THashFunc, TEqualFunc, THashBucket >::GetBucketCountShift |
( |
size_t |
bucketCount, |
|
|
size_t |
bucketMaxItemCount |
|
) |
| const |
|
inlinenoexcept |
◆ GetEqualFunc()
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
◆ GetHashCode()
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
template<typename KeyArg >
size_t momo::HashTraitsStd< TKey, THashFunc, TEqualFunc, THashBucket >::GetHashCode |
( |
const KeyArg & |
key | ) |
const |
|
inline |
◆ GetHashFunc()
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
◆ GetLogStartBucketCount()
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
size_t momo::HashTraitsStd< TKey, THashFunc, TEqualFunc, THashBucket >::GetLogStartBucketCount |
( |
| ) |
const |
|
inlinenoexcept |
◆ GetMaxLoadFactor()
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
float momo::HashTraitsStd< TKey, THashFunc, TEqualFunc, THashBucket >::GetMaxLoadFactor |
( |
size_t |
bucketMaxItemCount | ) |
const |
|
inlinenoexcept |
◆ IsEqual()
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
template<typename KeyArg1 , typename KeyArg2 >
bool momo::HashTraitsStd< TKey, THashFunc, TEqualFunc, THashBucket >::IsEqual |
( |
const KeyArg1 & |
key1, |
|
|
const KeyArg2 & |
key2 |
|
) |
| const |
|
inline |
◆ isFastNothrowHashable
template<typename TKey , typename THashFunc = HashCoder<TKey>, typename TEqualFunc = std::equal_to<TKey>, typename THashBucket = HashBucketDefault>
const bool momo::HashTraitsStd< TKey, THashFunc, TEqualFunc, THashBucket >::isFastNothrowHashable |
|
static |
Initial value:= IsFastNothrowHashable<Key>::value
&& (std::is_same<HashFunc, HashCoder<Key>>::value
|| std::is_same<HashFunc, std::hash<Key>>::value)
The documentation for this class was generated from the following file: