[#mp_units-cartesian_vector-08-operator_minus_eq]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector]::operator&hyphen;&equals;
:relfileprefix: ../../
:mrdocs:

Subtraction assignment operator

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;cartesian&lowbar;vector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename U&gt;
requires requires(T t, U u) &lcub;
      &lcub; t &hyphen;&equals; u &rcub; &hyphen;&gt; std&colon;&colon;same&lowbar;as&lt;T&amp;&gt;&semi;
    &rcub;
constexpr
xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector]&
operator&hyphen;&equals;(xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector&lt;U&gt;] const& other);
----

== Return Value

Reference to the current object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The right operand
|===


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