[Bug c++/63458] myclassobj >> charac compiles without warning, EVEN though ONLY operator>>(std::string&) exists
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Oct 4 19:22:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63458
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Yeah, shifting booleans is a weird thing to do. So is multiplication or
dividing booleans - and we don't warn on that either.
More information about the Gcc-bugs
mailing list