[Bug c++/63458] myclassobj >> charac compiles without warning, EVEN though ONLY operator>>(std::string&) exists
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Oct 4 13:41:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63458
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
You forgot to mark your operator bool as explicit.
More information about the Gcc-bugs
mailing list