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


145. Deprecation of prefix ++

Section: D.8  [depr.impldec]     Status: TC1     Submitter: Mike Miller     Date: 23 Jul 1999

D.8 [depr.impldec] indicates that use of the postfix ++ with a bool operand is deprecated. Annex Clause Annex D [depr] says nothing about prefix ++. However, this use of prefix ++ is also deprecated, according to [expr.pre.incr] paragraph 1. Presumably D.8 [depr.impldec] should be expanded to cover prefix ++, or another section should be added to Annex Clause Annex D [depr].

Proposed resolution (10/00):

Change the entire section D.8 [depr.impldec], including its heading, to read as follows:

D.1 Increment operator with bool operand [depr.incr.bool]

The use of an operand of type bool with the ++ operator is deprecated (see [expr.pre.incr] and []).