https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86303
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86303
--- Comment #2 from Andrew Pinski ---
GCC 7+ accepts it for C++17 and C++20 but rejects it for C++11 and C++14.
Maybe there was a rule change.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86303
--- Comment #1 from Jonathan Wakely ---
Comeau might have accepted it in 2010 but EDG rejects it today:
"ap.cc", line 20: error: no instance of constructor "Y::Y" matches the argument
list
argument types are: (auto_ptr)