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

A Magnitude constant equal to the value `V`

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;framework&sol;unit&lowbar;magnitude&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&sol;&ast; implementation-defined &ast;&sol; auto V&gt;
requires detail&colon;&colon;is&lowbar;nonzero&lowbar;mag&lowbar;arg&lt;V&gt;
constexpr xref:mp_units/UnitMagnitude.adoc[UnitMagnitude] auto mag = detail&colon;&colon;make&lowbar;magnitude&lt;V&gt;();
----


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