|
BDE 4.39.x Production Release
|
#include <bdlb_transparentequalto.h>
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.
Public Types | |
| typedef void | is_transparent |
Public Member Functions | |
| TransparentEqualTo ()=default | |
| TransparentEqualTo (const TransparentEqualTo &original)=default | |
| ~TransparentEqualTo ()=default | |
| TransparentEqualTo & | operator= (const TransparentEqualTo &rhs)=default |
| template<class LHS , class RHS > | |
| bool | operator() (const LHS &lhs, const RHS &rhs) const |
| typedef void bdlb::TransparentEqualTo::is_transparent |
Type alias indicating this is a transparent comparator.
|
default |
Create a TransparentEqualTo object.
|
default |
Create a TransparentEqualTo object.
TransparentEqualTo is an empty (stateless) type, this operation has no observable effect.
|
default |
Destroy this object.
|
inline |
Return true if the specified lhs is equal to the specified rhs and false otherwise.
|
default |
Assign to this object the value of the specified rhs object, and return a reference providing modifiable access to this object.
TransparentEqualTo is an empty (stateless) type, this operation has no observable effect.