gcc3.0: how to use template's?

Alexandre Oliva aoliva@redhat.com
Fri Aug 3 12:23:00 GMT 2001


On Aug  3, 2001, Bruno.Voigt@ic3s.de wrote:

>                const T::const_iterator it = t.find(tagname);
                      ^ insert `typename' here

The `typename' keyword is required before template-dependent qualified
type names.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-help mailing list