BloombergLP::bdldfp::operator==

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

Synopsis

Declared in <bdldfp_decimalformatconfig.h>

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

Description

Two DecimalFormatConfig objects have the same value if each of their attributes (respectively) have the same value. Note that comparison of two string type attributes are done via bsl::strcmp() function.

Return Value

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

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand