mp_units::QuantitySpecOf¶
A concept matching all quantity specifications of a provided quantity spec value
Synopsis¶
Declared in <mp-units/framework/quantity_spec_concepts.h>
template<typename T, auto QS>
concept QuantitySpecOf =
QuantitySpec<T> && QuantitySpec<MP_UNITS_NTTP_TYPE(QS)> && (mp_units::implicitly_convertible(T{}, QS));
Description¶
Satisfied by all quantity specifications that are implicitly convertible to the provided QS value.