--- Comment #5 from redi at gcc dot gnu dot org 2009-12-23 23:31 ---
*** This bug has been marked as a duplicate of 189 ***
--
redi at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-09-04 03:59 ---
Looks like this is a dup of bug 9937.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37350
--- Comment #3 from ian at airs dot com 2008-09-04 03:38 ---
Here is further argument from a programmer here. Any language lawyers want to
comment?
14.6.1 Locally declared names [temp.local]
1. Like normal (non-template) classes, class templates have an
injected-class-name (clause 9).
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-09-03 14:51 ---
EDG rejects it with
t.C(5): error: argument list for class template "base" is missing
typedef base b;
^
but accepts it if you use derived instead of base (like gcc does).
--
http://gcc.
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-09-03 14:50 ---
I don't read from the sentence that this applies to base class names, it
says "the name of the template" only.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37350