[#mp_units-constrained-operator_inc-0f]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/constrained.adoc[constrained]::operator&plus;&plus;
:relfileprefix: ../../
:mrdocs:

Increment operators

== Synopses

Declared in `&lt;mp&hyphen;units&sol;constrained&period;h&gt;`

Increment operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:mp_units/constrained.adoc[constrained]&
xref:mp_units/constrained/operator_inc-02.adoc[operator&plus;&plus;]()
requires requires(T&amp; v) &lcub;
      &lcub; &plus;&plus;v &rcub; &hyphen;&gt; std&colon;&colon;same&lowbar;as&lt;T&amp;&gt;&semi;
    &rcub;;
----

[.small]#xref:mp_units/constrained/operator_inc-02.adoc[_» more&period;&period;&period;_]#

Increment operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:mp_units/constrained.adoc[constrained&lt;decltype(std&colon;&colon;declval&lt;T&amp;&gt;()&plus;&plus;), ErrorPolicy&gt;]
xref:mp_units/constrained/operator_inc-09.adoc[operator&plus;&plus;](int);
----

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


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