This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 112e. See for the official list.


1653. Removing deprecated increment of bool

Section:  [expr.pre.incr]     Status: CD4     Submitter: Bjarne Stroustrup     Date: 2013-04-19

[Adopted at the October, 2015 meeting as P0002R1.]

The preincrement ( [expr.pre.incr]) and postincrement ( []) operators can be applied to operands of type bool, setting the operand to true, but this use is deprecated. Can it now be removed altogether?