[Bug c++/69924] gcc5.2 compile Error: std::basic_istream: no match for 'operator>>', while gcc 4.8 works
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 23 17:23:00 GMT 2016
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.
More information about the Gcc-bugs
mailing list