Return whether two objects have the same value.

Synopsis

Declared in <bsltf_evilbooleantype.h>

bsltf::EvilBooleanType
operator==(
    EvilBooleanType const& lhs,
    EvilBooleanType const& rhs);

Description

Return an EvilBooleanType value that converts to true if the specified lhs and rhs have the same value, and a value that converts to false otherwise. Two EvilBooleanType objects have the same value if the values resulting from converting each to bool have the same value.

Return Value

an EvilBooleanType converting to true if the operands are equal

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs