[Bug c++/86303] Constructor is not used for type conversion

2024-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86303 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/86303] Constructor is not used for type conversion

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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.

[Bug c++/86303] Constructor is not used for type conversion

2018-06-25 Thread redi at gcc dot gnu.org
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)