bsl::hash<BSLSTL_KEY const>

This class provides hashing functionality for constant key types, by delegating to the same function for non-constant key types.

Synopsis

Declared in <bslstl_hash.h>

template<class BSLSTL_KEY>
struct hash<BSLSTL_KEY const>
    : hash<BSLSTL_KEY>

Base Classes

NameDescription
hash<BSLSTL_KEY>Empty base class for hashing.

Type Aliases

NameDescription
HashAlgorithm Make the HASH_ALGORITHM template parameter available to clients.
result_type The type of the hash value that will be returned by the function-call operator.

Member Functions

NameDescription
operator() Function call operators