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


1448. Integral values of type bool

Section: 6.8.2  [basic.fundamental]     Status: NAD     Submitter: Johannes Schaub     Date: 2012-01-19

Although 6.8.2 [basic.fundamental] paragraph 7 classifies bool as an integral type, the values of true and false are not specified — only that the results of converting them to another integral type are 1 and 0, respectively. This omission leaves unspecified whether false is an integral null pointer constant or not.

Rationale (February, 2012):

The resolution of issue 903 makes it clear that false is not a null pointer constant.