[#mp_units-QuantityOf] = xref:mp_units.adoc[mp_units]::QuantityOf :relfileprefix: ../ :mrdocs: A concept matching all quantities of the provided quantity spec == Synopsis Declared in `<mp‐units/framework/quantity_concepts.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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>.` [.small]#Created with https://www.mrdocs.com[MrDocs]#