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

2024-12-19


145. Deprecation of prefix ++

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

D.6 [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 7.6.2.3 [expr.pre.incr] paragraph 1. Presumably D.6 [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.6 [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 7.6.2.3 [expr.pre.incr] and 7.6.1.6 [expr.post.incr]).