mp_units::quantity_character::quantity_character

Constructors

Synopses

Declared in <mp-units/framework/quantity_character.h>

Constructs a scalar, real quantity character

consteval
quantity_character() = default;
» more...

Constructs a quantity character from the pre-2.6.0 flat spelling

consteval
quantity_character(quantity_character_legacy legacy);
» more...

Constructs a scalar quantity character with the given numeric field

consteval
quantity_character(quantity_field numeric_field);
» more...

Constructs a real quantity character with the given tensor order

consteval
quantity_character(quantity_tensor_order tensor_order);
» more...

Constructs a quantity character from both axes

consteval
quantity_character(
    quantity_tensor_order tensor_order,
    quantity_field numeric_field);
» more...

Parameters

NameDescription
legacyThe flat character value to translate onto the two-axis representation.
numeric_fieldThe numeric field axis.
tensor_orderThe tensor order axis.