[#mp_units-quantity-01-2constructor-0a]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/quantity-01.adoc[quantity]::quantity
:relfileprefix: ../../
:mrdocs:

Construct from `FwdValue`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename FwdValue&gt;
requires detail&colon;&colon;DimensionlessOne&lt;reference&gt; &amp;&amp; detail&colon;&colon;ValuePreservingConstruction&lt;rep, FwdValue&gt;
constexpr
explicit(!std&colon;&colon;convertible&lowbar;to&lt;FwdValue, rep&gt;)
quantity(FwdValue&& val);
----

== Parameters

[cols=2]
|===
| Name
| Description
| *val*
| The object to move construct from
|===


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