[#mp_units-operator_minus-0e] = xref:mp_units.adoc[mp_units]::operator‐ :relfileprefix: ../ :mrdocs: Unary minus operator == Synopsis Declared in `<mp‐units/constrained.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] constexpr xref:mp_units/constrained.adoc[constrained<decltype(‐std::declval<T>()), ErrorPolicy>] operator‐(xref:mp_units/constrained.adoc[constrained] const& x); ---- == Return Value A transparent wrapper that carries an error policy for domain constraint enforcement. [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]#