[#mp_units-utility-safe_int-07-operator_inc-0ea] = xref:mp_units.adoc[mp_units]::xref:mp_units/utility.adoc[utility]::xref:mp_units/utility/safe_int-07.adoc[safe_int]::operator++ :relfileprefix: ../../../ :mrdocs: Increment operators == Synopses Declared in `<mp‐units/utility/safe_int.h>` Pre‐increments the wrapped value, reacting to `ErrorPolicy` on overflow. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:mp_units/utility/safe_int-07.adoc[safe_int]& xref:mp_units/utility/safe_int-07/operator_inc-08.adoc[operator++](); ---- [.small]#xref:mp_units/utility/safe_int-07/operator_inc-08.adoc[_» more..._]# Post‐increments the wrapped value, reacting to `ErrorPolicy` on overflow. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:mp_units/utility/safe_int-07.adoc[safe_int] xref:mp_units/utility/safe_int-07/operator_inc-0ef.adoc[operator++](int tag); ---- [.small]#xref:mp_units/utility/safe_int-07/operator_inc-0ef.adoc[_» more..._]# == Return Value * a reference to `*this`, after the increment * a copy of `*this`, before the increment == Parameters [cols="1,4"] |=== | Name| Description | *tag* | unused tag parameter that distinguishes this postfix form from the prefix `operator++()` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#