[#mp_units-quantity_point-08-operator_inc-0d] = xref:mp_units.adoc[mp_units]::xref:mp_units/quantity_point-08.adoc[quantity_point]::operator++ :relfileprefix: ../../ :mrdocs: Increment operators == Synopses Declared in `<mp‐units/framework/quantity_point.h>` Pre‐increments the underlying quantity from the origin. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:mp_units/quantity_point-08.adoc[quantity_point]& xref:mp_units/quantity_point-08/operator_inc-01.adoc[operator++]() & requires requires { ++quantity_from_origin_is_an_implementation_detail_; }; ---- [.small]#xref:mp_units/quantity_point-08/operator_inc-01.adoc[_» more..._]# Post‐increments the underlying quantity from the origin. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] constexpr xref:mp_units/quantity_point-08.adoc[quantity_point] xref:mp_units/quantity_point-08/operator_inc-09.adoc[operator++](int unused_tag) requires requires { quantity_from_origin_is_an_implementation_detail_++; }; ---- [.small]#xref:mp_units/quantity_point-08/operator_inc-09.adoc[_» more..._]# == Return Value * `*this`, after the increment. * A quantity point holding the value of `*this` before the increment. == Parameters [cols="1,4"] |=== | Name| Description | *unused_tag* | An unused tag parameter that distinguishes this overload as the post‐increment operator. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#