[#mp_units-constrained-operator_inc-0f] = xref:mp_units.adoc[mp_units]::xref:mp_units/constrained.adoc[constrained]::operator++ :relfileprefix: ../../ :mrdocs: Increment operators == Synopses Declared in `<mp‐units/constrained.h>` Increment operator [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:mp_units/constrained.adoc[constrained]& xref:mp_units/constrained/operator_inc-02.adoc[operator++]() requires requires(T& v) { { ++v } ‐> std::same_as<T&>; }; ---- [.small]#xref:mp_units/constrained/operator_inc-02.adoc[_» more..._]# Increment operator [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:mp_units/constrained.adoc[constrained<decltype(std::declval<T&>()++), ErrorPolicy>] xref:mp_units/constrained/operator_inc-09.adoc[operator++](int); ---- [.small]#xref:mp_units/constrained/operator_inc-09.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#