[Bug c++/52174] Implicit conversion of nullptr to bool
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 8 16:54:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52174
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-02-08 16:53:43 UTC ---
That document is not the standard, [conv.bool] says "A prvalue of type
std::nullptr_t can be converted to a prvalue of type bool; the resulting value
is false."
More information about the Gcc-bugs
mailing list