[#mp_units-safe_int-09-operator_minus]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/safe_int-09.adoc[safe&lowbar;int]::operator&hyphen;
:relfileprefix: ../../
:mrdocs:

Unary minus operator

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;safe&lowbar;int&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/safe_int-09.adoc[safe&lowbar;int&lt;decltype(&hyphen;value&lowbar;), ErrorPolicy&gt;]
operator&hyphen;() const;
----

== Return Value

Another instance of the object


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