This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 114a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-04-18


1653. Removing deprecated increment of bool

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

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

The preincrement (7.6.2.3 [expr.pre.incr]) and postincrement (7.6.1.6 [expr.post.incr]) 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?