------- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-31 15:37 ------- You forgot the typename keyword in front of "std::list<MyClass<Foo...>*>::iterator". Since std::list<MyClass<Foo...>*> is a dependent name, the compiler thinks (as mentioned in the standard) that __::iterator is a variable and not a type.
"std::list<DummyClass*>" is not a dependent name so it can be looked up right away. -- 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=38683