BloombergLP::bdlb::TransparentHash

This struct defines a hash operation for different types, enabling them for use for heterogeneous lookup in the standard associative containers such as bsl::unordered_map. Note that this class is an empty POD type.

Synopsis

Declared in <bdlb_transparenthash.h>

struct TransparentHash;

Type Aliases

NameDescription
is_transparent Type alias indicating this is a transparent hash functor.

Member Functions

NameDescription
operator() Return a hash code generated from the contents of the specified value.