[#mp_units-quantity_character-2constructor-05] = xref:mp_units.adoc[mp_units]::xref:mp_units/quantity_character.adoc[quantity_character]::quantity_character :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<mp‐units/framework/quantity_character.h>` Constructs a scalar, real quantity character [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- consteval xref:mp_units/quantity_character/2constructor-01.adoc[quantity_character]() = default; ---- [.small]#xref:mp_units/quantity_character/2constructor-01.adoc[_» more..._]# Constructs a quantity character from the pre‐2.6.0 flat spelling [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- consteval xref:mp_units/quantity_character/2constructor-08.adoc[quantity_character](xref:mp_units/quantity_character_legacy.adoc[quantity_character_legacy] legacy); ---- [.small]#xref:mp_units/quantity_character/2constructor-08.adoc[_» more..._]# Constructs a scalar quantity character with the given numeric field [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- consteval xref:mp_units/quantity_character/2constructor-09.adoc[quantity_character](xref:mp_units/quantity_field.adoc[quantity_field] numeric_field); ---- [.small]#xref:mp_units/quantity_character/2constructor-09.adoc[_» more..._]# Constructs a real quantity character with the given tensor order [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- consteval xref:mp_units/quantity_character/2constructor-0e.adoc[quantity_character](xref:mp_units/quantity_tensor_order.adoc[quantity_tensor_order] tensor_order); ---- [.small]#xref:mp_units/quantity_character/2constructor-0e.adoc[_» more..._]# Constructs a quantity character from both axes [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- consteval xref:mp_units/quantity_character/2constructor-0a.adoc[quantity_character]( xref:mp_units/quantity_tensor_order.adoc[quantity_tensor_order] tensor_order, xref:mp_units/quantity_field.adoc[quantity_field] numeric_field); ---- [.small]#xref:mp_units/quantity_character/2constructor-0a.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *legacy* | The flat character value to translate onto the two‐axis representation. | *numeric_field* | The numeric field axis. | *tensor_order* | The tensor order axis. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#