[#mp_units-operator_slash-0e] = xref:mp_units.adoc[mp_units]::operator/ :relfileprefix: ../ :mrdocs: Divides a reference by a unit == Synopsis Declared in `<mp‐units/framework/reference.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:mp_units/Unit.adoc[Unit] U2> [[nodiscard]] consteval /* implementation-defined */ operator/( xref:mp_units/reference-0b2.adoc[reference] r, U2 u2); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:mp_units/reference-0b2.adoc[reference], declared only inside that class: it can be found only through argument-dependent lookup. ==== == Return Value a reference resulting from dividing the quantity specification and the unit [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *r* | the reference to divide | *u2* | the unit to divide by |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#