#include <bdlb_transparentless.h>
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
- Note that this class is an empty POD type.
See bdlb_transparentless
◆ is_transparent
Type alias indicating this is a transparent comparator.
◆ TransparentLess() [1/2]
| bdlb::TransparentLess::TransparentLess |
( |
| ) |
|
|
default |
◆ TransparentLess() [2/2]
◆ ~TransparentLess()
| bdlb::TransparentLess::~TransparentLess |
( |
| ) |
|
|
default |
◆ operator()()
template<class LHS , class RHS >
| bool bdlb::TransparentLess::operator() |
( |
const LHS & |
lhs, |
|
|
const RHS & |
rhs |
|
) |
| const |
|
inline |
Return true if the specified lhs is less than the specified rhs and false otherwise.
◆ operator=()
Assign to this object the value of the specified rhs object, and return a reference providing modifiable access to this object.
- Note
- Note that as
TransparentLess is an empty (stateless) type, this operation has no observable effect.
The documentation for this struct was generated from the following file: