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

Name

Description

is_transparent

Type alias indicating this is a transparent hash functor.

Member Functions

Name

Description

operator()

Return a hash code generated from the contents of the specified value.

Created with MrDocs