https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61382

--- Comment #4 from Thibaut LUTZ <thibaut.lutz at googlemail dot com> ---
You're right, my bad. Thanks for correcting me.

The exact quote is 
> Within the initializer-list of a braced-init-list, the initializer-clauses, 
> including any that result from pack expansions, are evaluated in the order in 
> which they appear. That is, every value computation and side effect 
> associated with a given initializer-clause is sequenced before every value 
> computation and side effect associated with any initializer-clause that 
> follows it in the comma-separated list of the initializer-list.

So the increments *should* be sequenced.

Sorry about the noise.

Reply via email to