Pass a sentinel value for std::monostate into the hashing algorithm.
Synopsis
Declared in <bslh_hashvariant.h>
template<class HASH_ALGORITHM>
void
hashAppend(
HASH_ALGORITHM& algorithm,
std::monostate const& input);
Description
Pass the special value corresponding to the std::monostate object to the specified algorithm. This function integrates with the bslh modular hashing system and effectively provides a bsl::hash specialization for std::monostate.
Parameters
Name |
Description |
algorithm |
hashing algorithm that combines the monostate sentinel |
input |
unused |
Created with MrDocs