Bug report

Alexandre Oliva oliva@dcc.unicamp.br
Thu Dec 10 15:55:00 GMT 1998


On Dec 10, 1998, Karl JH Millar <kmillar@MIT.EDU> wrote:

> template<class T>
> void foo(T a) {
>   Map<int, T>::iterator i;
  ^ you need the `typename' keyword here

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list