[#mp_units-quantity_character-2constructor-05]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/quantity_character.adoc[quantity&lowbar;character]::quantity&lowbar;character
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

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

Constructs a scalar, real quantity character


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
consteval
xref:mp_units/quantity_character/2constructor-01.adoc[quantity&lowbar;character]() = default;
----

[.small]#xref:mp_units/quantity_character/2constructor-01.adoc[_» more&period;&period;&period;_]#

Constructs a quantity character from the pre&hyphen;2&period;6&period;0 flat spelling


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
consteval
xref:mp_units/quantity_character/2constructor-08.adoc[quantity&lowbar;character](xref:mp_units/quantity_character_legacy.adoc[quantity&lowbar;character&lowbar;legacy] legacy);
----

[.small]#xref:mp_units/quantity_character/2constructor-08.adoc[_» more&period;&period;&period;_]#

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&lowbar;character](xref:mp_units/quantity_field.adoc[quantity&lowbar;field] numeric&lowbar;field);
----

[.small]#xref:mp_units/quantity_character/2constructor-09.adoc[_» more&period;&period;&period;_]#

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&lowbar;character](xref:mp_units/quantity_tensor_order.adoc[quantity&lowbar;tensor&lowbar;order] tensor&lowbar;order);
----

[.small]#xref:mp_units/quantity_character/2constructor-0e.adoc[_» more&period;&period;&period;_]#

Constructs a quantity character from both axes


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
consteval
xref:mp_units/quantity_character/2constructor-0a.adoc[quantity&lowbar;character](
    xref:mp_units/quantity_tensor_order.adoc[quantity&lowbar;tensor&lowbar;order] tensor&lowbar;order,
    xref:mp_units/quantity_field.adoc[quantity&lowbar;field] numeric&lowbar;field);
----

[.small]#xref:mp_units/quantity_character/2constructor-0a.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *legacy*
| The flat character value to translate onto the two&hyphen;axis representation&period;
| *numeric&lowbar;field*
| The numeric field axis&period;
| *tensor&lowbar;order*
| The tensor order axis&period;
|===


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