[#mp_units-quantity-01-operator_inc-02] = xref:mp_units.adoc[mp_units]::xref:mp_units/quantity-01.adoc[quantity]::operator++ :relfileprefix: ../../ :mrdocs: Increment operator == Synopsis Declared in `<mp‐units/framework/quantity.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:mp_units/quantity-01.adoc[quantity]& operator++() & requires requires(rep& v) { { ++v } ‐> std::same_as<rep&>; }; ---- == Return Value Reference to the current object [.small]#Created with https://www.mrdocs.com[MrDocs]#