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.

Synopsis

Declared in <bslstl_equalto.h>

template<>
struct equal_to<void>;

Type Aliases

Member Functions

Name

Description

operator()

Return true if the specified lhs compares equal to the specified rhs using the equality‐comparison operator, lhs == rhs. Implemented inline because of all the duplication of std::forward<TYPE1>(lhs) == std::forward<TYPE2>(rhs).

Created with MrDocs