Apply the prefix -- operator to the specified value and return its original value.
Declared in <bdldfp_decimal.h>
bdldfp::Decimal64
operator--(
Decimal64& value,
int unused);
Note that this is a floating-point value so this operations may not change the value of this object at all (if the value is large) or it may just set it to -1.0 (if the original value is small).
the original value of value
| Name | Description |
|---|---|
| value | decimal object to modify |
| unused | unused argument distinguishing the postfix operator |