[#mp_units-quantity-01-operator_slash_eq-0d]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/quantity-01.adoc[quantity]::operator&sol;&equals;
:relfileprefix: ../../
:mrdocs:

Division assignment operator

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;framework&sol;quantity&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&sol;&ast; implementation-defined &ast;&sol; Value&gt;
requires requires(rep&amp; a, const Value b) &lcub;
      &lcub; a &sol;&equals; b &rcub; &hyphen;&gt; std&colon;&colon;same&lowbar;as&lt;rep&amp;&gt;&semi;
    &rcub;
constexpr
xref:mp_units/quantity-01.adoc[quantity]&
operator&sol;&equals;(Value const& val) &amp;;
----

== Return Value

Reference to the current object

== Parameters

[cols=2]
|===
| Name
| Description
| *val*
| The right operand
|===


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