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: unassig...@gcc.gnu.org ReportedBy: 3dw...@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.