Title
Missing C compatibility entry for decrement of bool
Status
cd4
Section
C.7.4 [diff.expr]
Submitter
CWG

Created on 2015-10-21.00:00:00 last changed 87 months ago

Messages

Date: 2016-06-15.00:00:00

Notes from the June, 2016 meeting:

This issue will be handled editorially and is placed in "review" status until that point.

Date: 2015-10-21.00:00:00

C permits decrementing a _Bool operand, but C++ has never allowed that operation on bool operands. Since there is some code that maps those types together for cross-language compatibility, it might be worth mentioning the different behavior (and, with the adoption of P0002R1, for increment as well).

History
Date User Action Args
2017-02-06 00:00:00adminsetmessages: + msg6109
2017-02-06 00:00:00adminsetstatus: open -> cd4
2015-10-21 00:00:00admincreate