BDE 4.14.0 Production release
|
#include <bslstl_equalto.h>
Public Types | |
typedef void | is_transparent |
Public Member Functions | |
equal_to ()=default | |
Create a equal_to object. | |
equal_to (const equal_to &original)=default | |
~equal_to ()=default | |
Destroy this object. | |
equal_to & | operator= (const equal_to &)=default |
template<class TYPE1 , class TYPE2 > | |
bool | operator() (const TYPE1 &lhs, const TYPE2 &rhs) const |
This struct
defines a binary comparison functor applying operator==
to two objects of (possibly different) types. Note that this class is an empty POD type.
typedef void bsl::equal_to< void >::is_transparent |
|
default |
|
default |
|
default |
|
inline |
Return true
if the specified lhs
compares equal to the specified rhs
using the equality-comparison operator, lhs == rhs
. Implemented inline because of compiler errors (AIX, SUN).
|
default |
Assign to this object the value of the specified rhs
object, and a return a reference providing modifiable access to this object. Note that as equal_to
is an empty (stateless) type, this operation will have no observable effect.