Quick Links: |
C++11-compliant binary functor applying operator==
More...
#include <bslstl_equalto.h>
Public Types | |
typedef VALUE_TYPE | first_argument_type |
typedef VALUE_TYPE | second_argument_type |
typedef bool | result_type |
Public Member Functions | |
equal_to () | |
equal_to (const equal_to &original) | |
~equal_to () | |
equal_to & | operator= (const equal_to &) |
BSLA_NODISCARD BSLS_KEYWORD_CONSTEXPR bool | operator() (const VALUE_TYPE &lhs, const VALUE_TYPE &rhs) const |
This struct
defines a binary comparison functor applying operator==
to two VALUE_TYPE
objects. This class conforms to the C++11 standard specification of std::equal_to
that does not require inheriting from std::binary_function
. Note that this class is an empty POD type.
typedef VALUE_TYPE bsl::equal_to< VALUE_TYPE >::first_argument_type |