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

A concept matching all unit types in the library

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
concept Unit = std&colon;&colon;derived&lowbar;from&lt;T, detail&colon;&colon;unit&lowbar;interface&gt; &amp;&amp; detail&colon;&colon;SymbolicConstant&lt;T&gt; &amp;&amp;
               !is&lowbar;specialization&lowbar;of&lowbar;v&lt;T, named&lowbar;unit&gt; &amp;&amp; !detail&colon;&colon;is&lowbar;specialization&lowbar;of&lowbar;prefixed&lowbar;unit&lt;T&gt;;
----

== Description

Satisfied by all unit types provided by the library&period;


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