[Bug c++/84282] [8 Regression] Probably rejected valid code

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 8 13:36:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84282

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> ---
Yes, this is invalid. Obviously you can't convert class a to bool.


More information about the Gcc-bugs mailing list