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++/19737] typename requirement error


------- Additional Comments From gdr at integrable-solutions dot net  2005-02-01 10:42 -------
Subject: Re:  typename requirement error

"gianni at mariani dot ws" <gcc-bugzilla@gcc.gnu.org> writes:

| BTW - gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5) accepts the
| code, would  this be a regression ?

Previous versions of GCC did not quite understand the notion of
"inject class name" and would erroneously accept things like

    struct A { };

    A::A a;


-- Gaby


-- 


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


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