[#mp_units-quantity_spec-0a0-_is_non_negative_] = xref:mp_units.adoc[mp_units]::xref:mp_units/quantity_spec-0a0.adoc[quantity_spec<QS, Eq, Args...>]::_is_non_negative_ :relfileprefix: ../../ :mrdocs: Whether quantities of this specification can never hold a negative value == Synopsis Declared in `<mp‐units/framework/quantity_spec_definitions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- inline constexpr static bool _is_non_negative_ = mp_units::contains<struct non_negative, Args...>() || (!mp_units::contains<struct possibly_negative, Args...>() && _character_ == quantity_character{} && QS._is_non_negative_); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#