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


961. Overload resolution and conversion of std::nullptr_t to bool

Section: 12.2.4.3  [over.ics.rank]     Status: CD2     Submitter: Mike Miller     Date: 2 September, 2009

[Voted into WP at March, 2010 meeting.]

Conversion of a pointer or pointer to member to bool is given special treatment as a tiebreaker in overload resolution in 12.2.4.3 [over.ics.rank] paragraph 4, bullet 1:

It would be reasonable to expect a similar provision to apply to conversions of std::nullptr_t to bool.

Proposed resolution (October, 2009):

Change 12.2.4.3 [over.ics.rank] bullet 4.1 as follows: