Quick Links: |
#include <bdlb_transparentless.h>
Public Types | |
typedef void | is_transparent |
Public Member Functions | |
TransparentLess () | |
TransparentLess (const TransparentLess &original) | |
~TransparentLess () | |
TransparentLess & | operator= (const TransparentLess &rhs) |
template<class LHS , class RHS > | |
bool | operator() (const LHS &lhs, const RHS &rhs) const |
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.
See Component bdlb_transparentless
typedef void bdlb::TransparentLess::is_transparent |
bdlb::TransparentLess::TransparentLess | ( | ) |
Create a TransparentLess
object.
bdlb::TransparentLess::TransparentLess | ( | const TransparentLess & | original | ) |
Create a TransparentLess
object. Note that as TransparentLess
is an empty (stateless) type, this operation has no observable effect.
bdlb::TransparentLess::~TransparentLess | ( | ) |
Destroy this object.
TransparentLess& bdlb::TransparentLess::operator= | ( | const TransparentLess & | rhs | ) |
Assign to this object the value of the specified rhs
object, and return a reference providing modifiable access to this object. Note that as TransparentLess
is an empty (stateless) type, this operation has no observable effect.
bool bdlb::TransparentLess::operator() | ( | const LHS & | lhs, | |
const RHS & | rhs | |||
) | const |
Return true
if the specified lhs
is less than the specified rhs
and false
otherwise.