------- Comment #1 from pinskia at gcc dot gnu dot org  2007-01-19 06:21 -------
Yes and this is not a bug, GCC is correct i is not defined as i is not a
dependent name so it gets bound at parsing time instead of doing instatitation.

You might think because the base class is an inner template but you can
specialize those too.

Also read:
http://gcc.gnu.org/gcc-3.4/changes.html
Under "In a template definition, unqualified names will no longer find members
of a dependent base (as specified by [temp.dep]/3 in the C++ standard). For
example,"


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to