mp_units::QuantityOf

A concept matching all quantities of the provided quantity spec

Synopsis

Declared in <mp-units/framework/quantity_concepts.h>
template<
    typename Q,
    auto QS>
concept QuantityOf = Quantity<Q> && QuantitySpec<MP_UNITS_REMOVE_CONST(decltype(QS))> &&
                     ReferenceOf<MP_UNITS_NONCONST_TYPE(Q::reference), QS>;


Description

Satisfied by all quantities with the reference satisfying ReferenceOf<QS>.

Created with MrDocs