[Bug libstdc++/54043] [LWG 2221] cout << nullptr does not work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54043 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Target Milestone|--- |9.0 --- Comment #18 from Jonathan Wakely --- This was fixed for GCC 9.1 by r267808
[Bug libstdc++/54043] [LWG 2221] cout << nullptr does not work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54043 --- Comment #17 from Ville Voutilainen --- Initial patch is at https://gcc.gnu.org/ml/gcc-patches/2017-12/msg00112.html, will need to wait until next stage1 to continue on it.
[Bug libstdc++/54043] [LWG 2221] cout << nullptr does not work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54043 Ville Voutilainen changed: What|Removed |Added Status|NEW |ASSIGNED CC||ville.voutilainen at gmail dot com Assignee|unassigned at gcc dot gnu.org |ville.voutilainen at gmail dot com --- Comment #16 from Ville Voutilainen --- Mine.
[Bug libstdc++/54043] [LWG 2221] cout << nullptr does not work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54043 --- Comment #15 from Jonathan Wakely --- The result is supposed to be a null-terminated string, so we could do what glibc's printf does for null pointers and print "(nil)" but we'd have to widen the string to the stream's char_type. Alternatively we could just print '0'. Either way we probably need to define the function for C++11 or compile the src/c++11/ostream-inst.cc file as C++17 so that the explicit instantiation definition includes the new member function.
[Bug libstdc++/54043] [LWG 2221] cout << nullptr does not work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54043 Jonathan Wakely changed: What|Removed |Added Status|SUSPENDED |NEW
[Bug libstdc++/54043] [LWG 2221] cout nullptr does not work
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54043 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |SUSPENDED Summary|[C++11] cout nullptr |[LWG 2221] cout nullptr |does not work |does not work --- Comment #14 from Paolo Carlini paolo.carlini at oracle dot com 2013-03-04 10:50:26 UTC --- Ah great, thanks Daniel.