public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/56193] New: ios_base should replace operator void* with explicit operator bool in C++11 onwards.
@ 2013-02-03 16:31 3dw4rd at verizon dot net
  2013-02-03 17:00 ` [Bug libstdc++/56193] " redi at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: 3dw4rd at verizon dot net @ 2013-02-03 16:31 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56193

             Bug #: 56193
           Summary: ios_base should replace operator void* with explicit
                    operator bool in C++11 onwards.
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: 3dw4rd@verizon.net


As pointed out on SO, g++ still compiles:

std::cout << std::cout

In C++11 the stream testing operator was changed from:
  operator void*() const;
to:
  explicit operator bool() const;

A quick patch is being tested now.
The target is 4.9 even though it is simple.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-09-24 23:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-03 16:31 [Bug libstdc++/56193] New: ios_base should replace operator void* with explicit operator bool in C++11 onwards 3dw4rd at verizon dot net
2013-02-03 17:00 ` [Bug libstdc++/56193] " redi at gcc dot gnu.org
2013-02-03 17:40 ` 3dw4rd at verizon dot net
2013-02-07 15:14 ` paolo.carlini at oracle dot com
2013-02-11 10:31 ` paolo at gcc dot gnu.org
2013-02-11 10:32 ` paolo.carlini at oracle dot com
2013-02-11 11:23 ` redi at gcc dot gnu.org
2013-02-11 11:49 ` paolo.carlini at oracle dot com
2013-08-08 13:13 ` david.abdurachmanov at gmail dot com
2014-06-26  5:57 ` daniel.kruegler at googlemail dot com
2014-06-26  9:04 ` redi at gcc dot gnu.org
2014-06-26  9:05 ` daniel.kruegler at googlemail dot com
2014-09-12 19:01 ` redi at gcc dot gnu.org
2014-09-24 22:14 ` redi at gcc dot gnu.org
2014-09-24 23:32 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).