[#mp_units-utility-constrained-operator_dec-0d4]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/utility.adoc[utility]::xref:mp_units/utility/constrained.adoc[constrained]::operator&hyphen;&hyphen;
:relfileprefix: ../../../
:mrdocs:

Decrement operators

== Synopses

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

Decrement operator


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

[.small]#xref:mp_units/utility/constrained/operator_dec-0d8.adoc[_» more&period;&period;&period;_]#

Decrement operator


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

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


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