[#mp_units-quantity_point-08-operator_inc-0d]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/quantity_point-08.adoc[quantity&lowbar;point]::operator&plus;&plus;
:relfileprefix: ../../
:mrdocs:

Increment operators

== Synopses

Declared in `&lt;mp&hyphen;units&sol;framework&sol;quantity&lowbar;point&period;h&gt;`

Pre&hyphen;increments the underlying quantity from the origin&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:mp_units/quantity_point-08.adoc[quantity&lowbar;point]&
xref:mp_units/quantity_point-08/operator_inc-01.adoc[operator&plus;&plus;]() &amp;
requires requires &lcub; &plus;&plus;quantity&lowbar;from&lowbar;origin&lowbar;is&lowbar;an&lowbar;implementation&lowbar;detail&lowbar;&semi; &rcub;;
----

[.small]#xref:mp_units/quantity_point-08/operator_inc-01.adoc[_» more&period;&period;&period;_]#

Post&hyphen;increments the underlying quantity from the origin&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/quantity_point-08.adoc[quantity&lowbar;point]
xref:mp_units/quantity_point-08/operator_inc-09.adoc[operator&plus;&plus;](int unused&lowbar;tag)
requires requires &lcub; quantity&lowbar;from&lowbar;origin&lowbar;is&lowbar;an&lowbar;implementation&lowbar;detail&lowbar;&plus;&plus;&semi; &rcub;;
----

[.small]#xref:mp_units/quantity_point-08/operator_inc-09.adoc[_» more&period;&period;&period;_]#

== Return Value

* `&ast;this`, after the increment&period;
* A quantity point holding the value of `&ast;this` before the increment&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *unused&lowbar;tag*
| An unused tag parameter that distinguishes this overload as the post&hyphen;increment operator&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
