https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56090
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56090
--- Comment #4 from Andrew Pinski ---
GCC, clang, ICC and MSVC all say this is not a bug and the name is a
constructor name in this context.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56090
--- Comment #3 from Klemens 2013-01-23 22:32:47
UTC ---
I would argue that in 3.4.3.1.2 the constructor is not an acceptable lookup
result, since it would result in the code being invalid.
Additionally, the following use of a type alia
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56090
--- Comment #2 from Andrew Pinski 2013-01-23
21:44:07 UTC ---
My reading of DR 147, makes this invalid code as foo::foo names the
constructor.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56090
--- Comment #1 from Andrew Pinski 2013-01-23
21:41:16 UTC ---
This is related to bug 11764 and C++ defect report #147.