[#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/AssociatedUnit.adoc[AssociatedUnit] auto QS, /* implementation-defined */ auto PO> requires (!Symbol.empty()) && (QS.dimension == detail::get_associated_quantity(U).dimension) struct xref:mp_units/named_unit-0ec.adoc[named_unit]<Symbol, U, QS> : /* implementation-defined */ ---- == Base Classes [cols=2] |=== | Name | Description | `/* implementation-defined */` | |=== == Types [cols=1] |=== | Name | xref:mp_units/named_unit-05/_base_type_.adoc[`_base_type_`] |=== == Static Data Members [cols=2] |=== | 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 |=== == Description The same as the above but additionally limits the usage of this unit to provided quantities. == Template Parameters [cols=2] |=== | 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]#