Post‐decrements the numerical value.
Synopsis
Declared in <mp‐units/framework/quantity.h>
[[nodiscard]]
constexpr
QuantityOf<quantity_spec> auto
operator‐‐(int unused_tag)
requires requires(rep& v) {
{ v‐‐ } ‐> std::common_with<rep>;
};
Return Value
A quantity holding the value of *this before the decrement.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
unused_tag |
An unused tag parameter that distinguishes this overload as the post‐decrement operator. |
Created with MrDocs