mp_units::get_quantity_spec

Synopsis

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

[[deprecated("2.6.0: `Q` definition should not be marked `final`"), nodiscard]]
consteval
QuantitySpec auto
get_quantity_spec(reference)
requires std::is_final_v<Q>;

WARNING

Deprecated: 2.6.0: `Q` definition should not be marked `final`. Use of this entity is allowed but discouraged.

Return Value

NOTE

The return value should not be discarded.