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

Assignment operators

== Synopses

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

Copy assignment operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;std::convertible&lowbar;to&lt;T&gt; U&gt;
constexpr
xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector]&
xref:mp_units/cartesian_vector-08/operator_assign-07.adoc[operator&equals;](xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector&lt;U&gt;] const& other);
----

[.small]#xref:mp_units/cartesian_vector-08/operator_assign-07.adoc[_» more&period;&period;&period;_]#

Move assignment operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;std::convertible&lowbar;to&lt;T&gt; U&gt;
constexpr
xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector]&
xref:mp_units/cartesian_vector-08/operator_assign-0d.adoc[operator&equals;](xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector&lt;U&gt;]&& other);
----

[.small]#xref:mp_units/cartesian_vector-08/operator_assign-0d.adoc[_» more&period;&period;&period;_]#


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