[#mp_units-operator_slash-06] = xref:mp_units.adoc[mp_units]::operator/ :relfileprefix: ../ :mrdocs: Constructs a quantity from a representation value and the inverse of a reference == Synopsis Declared in `<mp‐units/framework/reference.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename FwdRep, xref:mp_units/Reference-0ba.adoc[Reference] R, xref:mp_units/RepresentationOf.adoc[RepresentationOf<get_quantity_spec(R{})>] Rep = std::remove_cvref_t<FwdRep>> requires (!detail::OffsetUnit<decltype(get_unit(R{}))>) [[nodiscard]] constexpr xref:mp_units/Quantity-0c.adoc[Quantity] auto operator/( FwdRep&& lhs, R r); ---- == Return Value quantity of the inverse of reference `r` holding the value of `lhs` [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | representation value to become the quantity's numerical value | *r* | reference whose inverse defines the resulting quantity's specification and unit |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#