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

Name

Description

is_transparent

Type alias indicating this is a transparent comparator.

Member Functions

Name

Description

operator()

Return true if the specified lhs compares equal to the specified rhs using the equality‐comparison operator, lhs == rhs.

Created with MrDocs