[#mp_units-get_common_quantity_spec-01] = xref:mp_units.adoc[mp_units]::get_common_quantity_spec :relfileprefix: ../ :mrdocs: == Synopsis Declared in `<mp‐units/framework/quantity_spec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< xref:mp_units/QuantitySpec.adoc[QuantitySpec] Q1, xref:mp_units/QuantitySpec.adoc[QuantitySpec] Q2> requires (detail::have_common_quantity_spec(Q1{}, Q2{})) [[nodiscard]] consteval xref:mp_units/QuantitySpec.adoc[QuantitySpec] auto get_common_quantity_spec( Q1, Q2); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#