[#mp_units-inverse-0b] = xref:mp_units.adoc[mp_units]::inverse :relfileprefix: ../ :mrdocs: Computes the inverse of a reference == Synopsis Declared in `<mp‐units/framework/reference.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] consteval /* implementation-defined */ inverse(xref:mp_units/reference-0b2.adoc[reference] r); ---- == Return Value the result of the computation [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *r* | reference being inverted |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#