[expr.post.incr]

# 7 Expressions [[expr]](./#expr)

## 7.6 Compound expressions [[expr.compound]](expr.compound#expr.post.incr)

### 7.6.1 Postfix expressions [[expr.post]](expr.post#incr)

#### 7.6.1.6 Increment and decrement [expr.post.incr]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/expressions.tex#L4364)

The value of a postfix ++ expression is the value obtained by
applying the lvalue-to-rvalue conversion ([[conv.lval]](conv.lval "7.3.2 Lvalue-to-rvalue conversion")) to its operand[.](#1.sentence-1)

[*Note [1](#note-1)*:

The value obtained is a copy of the original value[.](#1.sentence-2)

â *end note*]

The operand shall be a modifiable lvalue[.](#1.sentence-3)

The type of the operand shall
be an arithmetic type other than cv bool,
or a pointer to a complete object type[.](#1.sentence-4)

An operand with volatile-qualified type is deprecated;
see [[depr.volatile.type]](depr.volatile.type "D.4 Deprecated volatile types")[.](#1.sentence-5)

The value of the operand object is modified ([[defns.access]](defns.access "3.1 access"))
as if it were the operand of the prefix ++ operator ([[expr.pre.incr]](expr.pre.incr "7.6.2.3 Increment and decrement"))[.](#1.sentence-6)

Thevalue computation of the ++ expression is sequenced before the
modification of the operand object[.](#1.sentence-7)

With respect to an
indeterminately-sequenced function call, the operation of postfix++ is
a single evaluation[.](#1.sentence-8)

[*Note [2](#note-2)*:

Therefore, a function call cannot intervene between the
lvalue-to-rvalue conversion and the side effect associated with any
single postfix ++ operator[.](#1.sentence-9)

â *end note*]

The result is a prvalue[.](#1.sentence-10)

The type of the result is the cv-unqualified
version of the type of the operand[.](#1.sentence-11)

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/expressions.tex#L4396)

The operand of postfix -- is decremented analogously to the
postfix ++ operator[.](#2.sentence-1)

[*Note [3](#note-3)*:

For prefix increment and decrement, see [[expr.pre.incr]](expr.pre.incr "7.6.2.3 Increment and decrement")[.](#2.sentence-2)

â *end note*]
