Title
Integral values of type bool
Status
nad
Section
6.8.2 [basic.fundamental]
Submitter
Johannes Schaub

Created on 2012-01-19.00:00:00 last changed 155 months ago

Messages

Date: 2012-02-15.00:00:00

Rationale (February, 2012):

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

Date: 2022-11-20.07:54:16

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.

History
Date User Action Args
2012-02-27 00:00:00adminsetmessages: + msg3841
2012-01-19 00:00:00admincreate