mp_units::get_common_quantity_spec

Returns the common quantity specification of a single quantity specification

Synopsis

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

[[nodiscard]]
consteval
QuantitySpec auto
get_common_quantity_spec(auto q);

Return Value

q unchanged

NOTE

The return value should not be discarded.

Parameters

NameDescription
qa quantity specification value