Title
Form of initialization for nullptr_t to bool conversion
Status
cd4
Section
9.4 [dcl.init]
Submitter
Hubert Tong

Created on 2013-02-26.00:00:00 last changed 49 months ago

Messages

Date: 2014-11-15.00:00:00

[Moved to DR at the November, 2014 meeting.]

Date: 2014-02-15.00:00:00

Proposed resolution (February, 2014):

Change 9.4 [dcl.init] paragraph 14 as follows:

The form of initialization (using parentheses or =) is generally insignificant, but does matter when the initializer or the entity being initialized has a class type; see below. If the entity being initialized...
Date: 2016-02-15.00:00:00

According to 9.4 [dcl.init] paragraph 14,

The form of initialization (using parentheses or =) is generally insignificant, but does matter when the initializer or the entity being initialized has a class type; see below.

This does not consider conversions from std::nullptr_t to bool, which are permitted only for direct-initialization (7.3.14 [conv.fctptr]).

History
Date User Action Args
2017-02-06 00:00:00adminsetstatus: drwp -> cd4
2015-05-25 00:00:00adminsetstatus: dr -> drwp
2015-04-13 00:00:00adminsetmessages: + msg5382
2014-11-24 00:00:00adminsetstatus: ready -> dr
2014-03-03 00:00:00adminsetmessages: + msg4833
2014-03-03 00:00:00adminsetstatus: open -> ready
2013-02-26 00:00:00admincreate