mp_units::quantity_point::operator--

Post-decrements the underlying quantity from the origin.

Synopsis

Declared in <mp-units/framework/quantity_point.h>

[[nodiscard]]
constexpr
quantity_point
operator--(int unused_tag)
requires requires { quantity_from_origin_is_an_implementation_detail_--; };

Return Value

A quantity point holding the value of *this before the decrement.

NOTE

The return value should not be discarded.

Parameters

NameDescription
unused_tagAn unused tag parameter that distinguishes this overload as the post-decrement operator.