BloombergLP::bdlb::TransparentEqualTo

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

NameDescription
is_transparent Type alias indicating this is a transparent comparator.

Member Functions

NameDescription
operator() Return true if the specified lhs is equal to the specified rhs and false otherwise.