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++/3478] [3.4 regression] Accepts invalid enum declarations from template class


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3478



------- Additional Comments From nathan at gcc dot gnu dot org  2003-09-22 15:20 -------
I don't agree with
    enum          A<T>::E    e3; // invalid, A<T>::E is dependent and hence
                                 // [7.1.5.3]/3 cannot be enforced
7.1.5.3/3 can be enforced at instantiation time. I beleive there's a DR
allowing an implicit typename in an elaborated type specifier.


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