BloombergLP::bdldfp::operator--

Apply the prefix -- operator to the specified value and return its original value.

Synopses

Declared in <bdldfp_decimal.h>

Apply the prefix -- operator to the specified value and return its original value.

bdldfp::Decimal128
operator--(
    Decimal128& value,
    int unused);
» more...

Apply the prefix -- operator to the specified value and return its original value.

bdldfp::Decimal32
operator--(
    Decimal32& value,
    int unused);
» more...

Apply the prefix -- operator to the specified value and return its original value.

bdldfp::Decimal64
operator--(
    Decimal64& value,
    int unused);
» more...

Return Value

the original value of value

Parameters

NameDescription
valuedecimal object to modify
unusedunused argument distinguishing the postfix operator