[#mp_units-quantity-01-magnitude] = xref:mp_units.adoc[mp_units]::xref:mp_units/quantity-01.adoc[quantity]::magnitude :relfileprefix: ../../ :mrdocs: == Synopsis Declared in `<mp‐units/framework/quantity.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] constexpr xref:mp_units/Quantity.adoc[Quantity] auto magnitude() const requires (quantity_spec.character == quantity_character::vector); ---- == Return Value [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#