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

Construct from `cartesian&lowbar;vector`

== 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 std&colon;&colon;constructible&lowbar;from&lt;T, U&gt;
constexpr
explicit(!std&colon;&colon;convertible&lowbar;to&lt;U, T&gt;)
cartesian&lowbar;vector(xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector&lt;U&gt;] const& other);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The object to copy construct from
|===


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