[#mp_units-quantity_spec-0a6] = xref:mp_units.adoc[mp_units]::xref:mp_units/quantity_spec-09.adoc[quantity_spec]<QS, Args...> :relfileprefix: ../ :mrdocs: Specialization defining a base quantity == Synopsis Declared in `<mp‐units/framework/quantity_spec_definitions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< /* implementation-defined */ auto Dim, /* implementation-defined */ auto Args...> struct xref:mp_units/quantity_spec-09.adoc[quantity_spec]<QS, Args...> : /* implementation-defined */ ---- == Base Classes [cols="1,4"] |=== | Name| Description | `/* implementation-defined */` | |=== == Type Aliases [cols="1,4"] |=== | Name| Description | xref:mp_units/quantity_spec-0a6/_base_type_.adoc[`_base_type_`] | The base type used to detect specializations of `quantity_spec` |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:mp_units/quantity_spec-0a6/operator_call-0a.adoc[`operator()`] | Function call operators | xref:mp_units/quantity_spec-0a6/operator_subs.adoc[`operator[]`] | |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:mp_units/quantity_spec-0a6/_character_.adoc[`_character_`] | The character of the quantity, real scalar unless overriden in `Args` | xref:mp_units/quantity_spec-0a6/_dimension_.adoc[`_dimension_`] | The base dimension this quantity specification was defined from | xref:mp_units/quantity_spec-0a6/_equation_.adoc[`_equation_`] | The quantity equation this specification was derived from | xref:mp_units/quantity_spec-0a6/_is_non_negative_.adoc[`_is_non_negative_`] | Whether quantities of this specification can never hold a negative value | xref:mp_units/quantity_spec-0a6/_parent_.adoc[`_parent_`] | The parent quantity specification this leaf was derived from | xref:mp_units/quantity_spec-0a6/character.adoc[`character`] [.small]#[deprecated]# | Deprecated accessor for `_character_`; use `get_character(qs)` instead | xref:mp_units/quantity_spec-0a6/dimension.adoc[`dimension`] [.small]#[deprecated]# | Deprecated accessor for `_dimension_`; use `get_dimension(qs)` instead |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#