[#mp_units-relative_point_origin-_quantity_spec_]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/relative_point_origin.adoc[relative&lowbar;point&lowbar;origin]::&lowbar;quantity&lowbar;spec&lowbar;
:relfileprefix: ../../
:mrdocs:

The quantity specification of this origin, being the strongest of `QP`&apos;s specs

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
inline constexpr static
xref:mp_units/QuantitySpec.adoc[QuantitySpec] auto &lowbar;quantity&lowbar;spec&lowbar; = &lsqb;&rsqb;() &lcub;
    &sol;&sol; select the strongest of specs
    if constexpr (detail&colon;&colon;QuantityKindSpec&lt;MP&lowbar;UNITS&lowbar;NONCONST&lowbar;TYPE(QP&period;quantity&lowbar;spec)&gt;)
      return get&lowbar;quantity&lowbar;spec(QP&period;point&lowbar;origin)&semi;
    else
      return QP&period;quantity&lowbar;spec&semi;
  &rcub;();
----


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