Strange behavior
Alexandre Oliva
oliva@dcc.unicamp.br
Sat Feb 28 14:33:00 GMT 1998
Jimen Ching writes:
> I get the following behavior. Is there something wrong with the
> code or with g++?
With the code. You must use the `typename' keyword before any
template argument-dependent nested type.
> list_type::const_iterator idx = _my_list.begin();
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list