mp_units::get_common_quantity_spec¶
Synopsis¶
Declared in <mp-units/framework/quantity_spec_conversion.h>
template<QuantitySpec Q1, QuantitySpec Q2>
requires(detail::have_common_quantity_spec(Q1{}, Q2{}))
[[nodiscard]] consteval QuantitySpec auto get_common_quantity_spec(Q1, Q2);
Return Value¶
Note
The return value should not be discarded.