[#mp_units-quantity_point-08-2constructor-0f]
= 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/QuantityPoint.adoc[QuantityPoint] QP&gt;
requires (!QuantityPointOf&lt;QP, absolute&lowbar;point&lowbar;origin&gt;) &amp;&amp; requires(const QP&amp; src) &lcub;
      &lcub; src&period;point&lowbar;for(point&lowbar;origin) &rcub; &hyphen;&gt; QuantityPointOf&lt;point&lowbar;origin&gt;&semi;
      quantity&lowbar;type&lcub;src&period;point&lowbar;for(point&lowbar;origin) &hyphen; point&lowbar;origin&rcub;&semi;
    &rcub;
constexpr
explicit
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]#
