https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69924
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Ah yes, or you wouldn't get the rvalue overload. Please makes sure you state the relevant compiler flags so we don't have to guess. This is not valid C++11 code, there is no implicit conversion from streams to void* or bool in C++11.