[#mp_units-named_unit-05] = xref:mp_units.adoc[mp_units]::xref:mp_units/named_unit-0ec.adoc[named_unit]<Symbol, U, QS> :relfileprefix: ../ :mrdocs: Specialization for a unit with special name valid only for a specific quantity == Synopsis Declared in `<mp‐units/framework/unit.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< xref:mp_units/symbol_text-032.adoc[symbol_text] Symbol, xref:mp_units/Unit.adoc[Unit] auto QS, /* implementation-defined */ auto PO> requires (!Symbol.empty()) && (QS.dimension == detail::get_associated_quantity(U).dimension) && detail::is_positive_canonical_unit_mag<U> struct xref:mp_units/named_unit-0ec.adoc[named_unit]<Symbol, U, QS> : /* implementation-defined */ ---- == Description The same as the above but additionally limits the usage of this unit to provided quantities. == Base Classes [cols="1,4"] |=== |Name|Description | `/* implementation-defined */` | |=== == Types [cols=1] |=== | Name | xref:mp_units/named_unit-05/_base_type_.adoc[`_base_type_`] |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:mp_units/named_unit-05/_point_origin_.adoc[`_point_origin_`] | | xref:mp_units/named_unit-05/_quantity_spec_.adoc[`_quantity_spec_`] | | xref:mp_units/named_unit-05/_symbol_.adoc[`_symbol_`] | Unique base unit identifier |=== == Template Parameters [cols="1,4"] |=== |Name|Description | *Symbol* | a short text representation of the unit | *Unit* | a unit for which we provide a special name | *QuantitySpec* | a specification of a quantity to be measured with this unit |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#