[Bug c++/83937] [7/8 Regression] C++17 binds braced init of a type T to default arg of a ctor instead of using T's own default ctor

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 19 10:59:00 GMT 2018


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-01-19
     Ever confirmed|0                           |1

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I don't think P0135 should cause S( {} ) to mean S( S{} ) so I agree that the
C++17 behaviour is wrong.


More information about the Gcc-bugs mailing list