This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115e. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2024-11-11
D.7 [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.7 [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.7 [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]).