[#mp_units-delta]
= xref:mp_units.adoc[mp&lowbar;units]::delta
:relfileprefix: ../
:mrdocs:

Constructs a `quantity` of reference `R` from a raw representation value

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;framework&sol;construction&lowbar;helpers&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;xref:mp_units/Reference-0ba.adoc[Reference] auto R&gt;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/quantity-01.adoc[quantity&lt;R&lcub;&rcub;, Rep&gt;]
delta(FwdRep&& lhs);
----

[NOTE]
====
This function is defined as an https://en.cppreference.com/cpp/algorithm/ranges#Algorithm_function_objects[Algorithm Function Object (AFO)].
====

== Return Value

A `quantity` of reference `R` holding `lhs`

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| The raw representation value to wrap in a `quantity`
|===


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