This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/86255] addition of default argument on redeclaration makes this constructor a default constructor


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
            Version|unknown                     |9.0
         Resolution|---                         |DUPLICATE

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to zhonghao from comment #0)
> So, is this a
> recurring bug in g++?

No, it's not recurring.

GCC simply doesn't implement https://wg21.link/cwg1344 yet (which was only
resolved in 2014 so is nothing to do with PR 2189 from 2002).

We already have a bug report for DR 1344.

*** This bug has been marked as a duplicate of bug 58194 ***

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]