[#mp_units-quantity_point-08-2constructor-002]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/quantity_point-08.adoc[quantity&lowbar;point]::quantity&lowbar;point
:relfileprefix: ../../
:mrdocs:

Construct from `QP`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;xref:mp_units/QuantityPointLike.adoc[QuantityPointLike] QP&gt;
requires (quantity&lowbar;point&lowbar;like&lowbar;traits&lt;QP&gt;&colon;&colon;point&lowbar;origin &equals;&equals; point&lowbar;origin) &amp;&amp;
            std&colon;&colon;constructible&lowbar;from&lt;quantity&lowbar;type, quantity&lt;quantity&lowbar;point&lowbar;like&lowbar;traits&lt;QP&gt;&colon;&colon;reference,
                                                            typename quantity&lowbar;point&lowbar;like&lowbar;traits&lt;QP&gt;&colon;&colon;rep&gt;&gt;
constexpr
explicit(quantity&lowbar;point&lowbar;like&lowbar;traits&lt;QP&gt;&colon;&colon;explicit&lowbar;import &verbar;&verbar; !std&colon;&colon;convertible&lowbar;to&lt;quantity&lt;quantity&lowbar;point&lowbar;like&lowbar;traits&lt;QP&gt;&colon;&colon;reference, typename quantity&lowbar;point&lowbar;like&lowbar;traits&lt;QP&gt;&colon;&colon;rep&gt;, quantity&lowbar;type&gt;)
quantity&lowbar;point(QP const& qp);
----

== Parameters

[cols="1,4"]
|===
|Name|Description

| *qp*
| The object to copy construct from
|===


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