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

Synopsis

Declared in <bdlb_transparentless.h>

struct TransparentLess;

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 less than the specified rhs and false otherwise.

Created with MrDocs