Return true if value of the specified lhs is less than or equal to value of the specified rhs and false otherwise.

Synopsis

Declared in <bdld_datumerror.h>

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

Description

Value of lhs is less than or equal to value of rhs if error code value of lhs is less than or equal to error code value of rhs, or they have the same error code value and error message value of lhs is less than or equal to error message value of rhs.

Return Value

true if lhs is less than or equal to rhs, and false otherwise

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs