mp_units::get_dimension

Synopsis

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

template<QuantitySpec QS>
[[nodiscard]]
consteval
Dimension auto
get_dimension(QS qs);

NOTE

This function is a hidden friend of derived_quantity_spec, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.

Return Value

NOTE

The return value should not be discarded.