unique_hash_key_with
Synopsis
Declared in <folly/hash/UniqueHashKey.h>
template<auto Algo>
class unique_hash_key_with
: public unique_hash_key<unique_hash_key_algo_size_v<Algo>>
Description
A unique‐hash‐key of the size returned by the given hash algorithm, using the given algorithm.
Hash values are unique to the process. But see the caveats regarding uniqueness above, with tuples replacing packs.
It is explicitly permitted to copy‐construct unique_hash_key (base class) instances from instances of unique_hash_key_with<Algo> (derived class). There is no concern about object slicing.
Base Classes
Name |
Description |
|
unique_hash_key |
Member Functions
Name |
Description |
|
Construct the key by hashing the elements of the given tuple. |
View the key bytes as a std::span of unsigned integers. |
Created with MrDocs