[Bug c++/85251] Using declaration for base class constructor looses explicit.

2021-08-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85251 --- Comment #3 from Jonathan Wakely --- Thanks to ppalka who pointed out that [namespace.udecl] p13 does specify what should happen here: Constructors that are named by a using-declaration are treated as though they were constructors of the

[Bug c++/85251] Using declaration for base class constructor looses explicit.

2021-08-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85251 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2021-08-04 Status|UNCONFIR

[Bug c++/85251] Using declaration for base class constructor looses explicit.

2021-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85251 --- Comment #1 from Andrew Pinski --- GCC, ICC, and MSVC all do the same thing and calls A(int).