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

Constructors

== Synopses

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

Copy constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:mp_units/cartesian_vector-08/2constructor-010.adoc[cartesian&lowbar;vector](xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector] const& other) = default;
----

[.small]#xref:mp_units/cartesian_vector-08/2constructor-010.adoc[_» more&period;&period;&period;_]#

Copy constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename U&gt;
requires std&colon;&colon;constructible&lowbar;from&lt;T, U&gt;
constexpr
explicit(!std&colon;&colon;convertible&lowbar;to&lt;U, T&gt;)
xref:mp_units/cartesian_vector-08/2constructor-0c.adoc[cartesian&lowbar;vector](xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector&lt;U&gt;] const& other);
----

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

Move constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:mp_units/cartesian_vector-08/2constructor-0e.adoc[cartesian&lowbar;vector](xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector]&& other) = default;
----

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

Move constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename U&gt;
requires std&colon;&colon;constructible&lowbar;from&lt;T, U&gt;
constexpr
explicit(!std&colon;&colon;convertible&lowbar;to&lt;U, T&gt;)
xref:mp_units/cartesian_vector-08/2constructor-05.adoc[cartesian&lowbar;vector](xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector&lt;U&gt;]&& other);
----

[.small]#xref:mp_units/cartesian_vector-08/2constructor-05.adoc[_» more&period;&period;&period;_]#

Construct from `Args`


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename&period;&period;&period; Args&gt;
requires (&period;&period;&period; &amp;&amp; std&colon;&colon;constructible&lowbar;from&lt;T, Args&gt;)
constexpr
explicit(!(&period;&period;&period; &amp;&amp; std&colon;&colon;convertible&lowbar;to&lt;Args, T&gt;))
xref:mp_units/cartesian_vector-08/2constructor-015.adoc[cartesian&lowbar;vector](Args&period;&period;&period;&&&period;&period;&period; args);
----

[.small]#xref:mp_units/cartesian_vector-08/2constructor-015.adoc[_» more&period;&period;&period;_]#


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