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

Synopsis

Declared in <bslstl_equalto.h>

[[nodiscard]]
constexpr
bool
operator()(
    VALUE_TYPE const& lhs,
    VALUE_TYPE const& rhs) const;

Return Value

true if lhs compares equal to rhs, and false otherwise

Note

The return value should not be discarded.

Parameters

Name

Description

lhs

left‐hand operand to compare for equality

rhs

right‐hand operand to compare for equality

Created with MrDocs