This struct defines an equality of objects of different types, enabling them for use for heterogeneous comparison in the standard associative containers such as bsl::unordered_map. Note that this class is an empty POD type.

Synopsis

Declared in <bdlb_transparentequalto.h>

struct TransparentEqualTo;

Type Aliases

Name

Description

is_transparent

Type alias indicating this is a transparent comparator.

Member Functions

Name

Description

operator()

Return true if the specified lhs is equal to the specified rhs and false otherwise.

Created with MrDocs