[#mp_units-operator_plus-08b]
= xref:mp_units.adoc[mp&lowbar;units]::operator&plus;
:relfileprefix: ../
:mrdocs:

Unary plus operator

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/constrained.adoc[constrained&lt;decltype(&plus;std&colon;&colon;declval&lt;T&gt;()), ErrorPolicy&gt;]
operator&plus;(xref:mp_units/constrained.adoc[constrained] const& x);
----

== Return Value

A transparent wrapper that carries an error policy for domain constraint enforcement&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| The operand
|===


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