Value :: operator-- - Decrease by 1
The operation decreases a numerical value by 1. The operation is an unary operation returning the result in the data format of the operand (calling object).
When the operand is not numeric, the function throws an exception.
Return value: Value handle ( odaba::Value & )
A value handle refers to a (usually) opened value. Invalid value handles may cause an exception.
Implementation details
odaba::Value &
Value  :: operator-- (  )
The prefix operator evaluates the operation before passing the operand result further on, i.e. the decremented value is passed.
Value v1(10);
funct(--v1); // passes 9 to the function