Equality operators
Synopses
Declared in <bdldfp_decimal.h>
Return true if the specified lhs and rhs objects have the same value, and false otherwise.
bool
operator==(
DecimalFormatConfig const& lhs,
DecimalFormatConfig const& rhs);
Return true if the specified lhs and rhs have the same value, and false otherwise.
bool
operator==(
Uint128 const& lhs,
Uint128 const& rhs);
Return true if the specified lhs and rhs have the same value, and false otherwise.
bool
operator==(
Decimal32 lhs,
Decimal32 rhs);
Return true if the specified lhs and rhs have the same value, and false otherwise.
bool
operator==(
Decimal64 lhs,
Decimal64 rhs);
Return true if the specified lhs and rhs have the same value, and false otherwise.
bool
operator==(
Decimal32 lhs,
Decimal64 rhs);
Return true if lhs and rhs have the same value.
bool
operator==(
Decimal64 lhs,
Decimal32 rhs);
Return true if the specified lhs and rhs have the same value, and false otherwise.
bool
operator==(
Decimal128 lhs,
Decimal128 rhs);
Return true if the specified lhs and rhs have the same value, and false otherwise.
bool
operator==(
Decimal32 lhs,
Decimal128 rhs);
Return true if lhs and rhs have the same value.
bool
operator==(
Decimal128 lhs,
Decimal32 rhs);
Return true if lhs and rhs have the same value.
bool
operator==(
Decimal64 lhs,
Decimal128 rhs);
Return true if lhs and rhs have the same value.
bool
operator==(
Decimal128 lhs,
Decimal64 rhs);
Return Value
-
trueiflhsandrhshave the same value, andfalseotherwise -
trueiflhsandrhshave the same value, andfalseotherwise -
trueif the specifiedlhsandrhshave the same value, andfalseotherwise -
trueiflhsandrhshave the same value
Parameters
Name |
Description |
lhs |
left‐hand operand |
rhs |
right‐hand operand |
Created with MrDocs