[#mp_units-quantity_spec-0a0]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/quantity_spec-09.adoc[quantity&lowbar;spec]&lt;QS, Eq, Args&period;&period;&period;&gt;
:relfileprefix: ../
:mrdocs:

Specialization defining a leaf derived quantity in the hierarchy with a refined equation

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    &sol;&ast; implementation-defined &ast;&sol; auto QS,
    &sol;&ast; implementation-defined &ast;&sol; auto Eq,
    &sol;&ast; implementation-defined &ast;&sol; auto Args&period;&period;&period;&gt;
requires (mp&lowbar;units&colon;&colon;explicitly&lowbar;convertible(Eq, QS))
struct xref:mp_units/quantity_spec-09.adoc[quantity&lowbar;spec]&lt;QS, Eq, Args&period;&period;&period;&gt;
    : &sol;&ast; implementation-defined &ast;&sol;
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `&sol;&ast; implementation-defined &ast;&sol;`
| 
|===

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:mp_units/quantity_spec-0a0/_base_type_.adoc[`&lowbar;base&lowbar;type&lowbar;`] 
| The base type used to detect specializations of `quantity&lowbar;spec`
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:mp_units/quantity_spec-0a0/operator_call-01.adoc[`operator()`] 
| Function call operators
| xref:mp_units/quantity_spec-0a0/operator_subs.adoc[`operator&lsqb;&rsqb;`] 
| 
|===


== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:mp_units/quantity_spec-0a0/_character_.adoc[`&lowbar;character&lowbar;`] 
| The character of the quantity, derived from the equation unless overriden in `Args`
| xref:mp_units/quantity_spec-0a0/_dimension_.adoc[`&lowbar;dimension&lowbar;`] 
| The dimension inherited from the parent quantity specification
| xref:mp_units/quantity_spec-0a0/_equation_.adoc[`&lowbar;equation&lowbar;`] 
| The derived quantity equation this specification refines
| xref:mp_units/quantity_spec-0a0/_is_non_negative_.adoc[`&lowbar;is&lowbar;non&lowbar;negative&lowbar;`] 
| Whether quantities of this specification can never hold a negative value
| xref:mp_units/quantity_spec-0a0/_parent_.adoc[`&lowbar;parent&lowbar;`] 
| The parent quantity specification this leaf was derived from
| xref:mp_units/quantity_spec-0a0/character.adoc[`character`]  [.small]#[deprecated]#
| Deprecated accessor for `_character_`&semi; use `get&lowbar;character(qs)` instead
| xref:mp_units/quantity_spec-0a0/dimension.adoc[`dimension`]  [.small]#[deprecated]#
| Deprecated accessor for `_dimension_`&semi; use `get&lowbar;dimension(qs)` instead
|===



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