Return true if the specified lhs and rhs have the same value and false otherwise.

Synopsis

Declared in <bdld_datumerror.h>

bool
operator==(
    DatumError const& lhs,
    DatumError const& rhs);

Description

Two DatumError objects have the same value if they have same error code and message values.

Return Value

true if lhs and rhs have the same value, and false otherwise

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs