Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions

bsl::equal_to< VALUE_TYPE > Struct Template Reference
[Component bslstl_equalto]

C++11-compliant binary functor applying operator== More...

#include <bslstl_equalto.h>

List of all members.

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_tooperator= (const equal_to &)
BSLA_NODISCARD
BSLS_KEYWORD_CONSTEXPR bool 
operator() (const VALUE_TYPE &lhs, const VALUE_TYPE &rhs) const

Detailed Description

template<class VALUE_TYPE = void>
struct bsl::equal_to< VALUE_TYPE >

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.

See Component bslstl_equalto


Member Typedef Documentation

template<class VALUE_TYPE = void>
typedef VALUE_TYPE bsl::equal_to< VALUE_TYPE >::first_argument_type

The documentation for this struct was generated from the following file: