Template function problem
Alexandre Oliva
aoliva@redhat.com
Thu Jun 15 12:42:00 GMT 2000
On Jun 15, 2000, "Oakham, Geoff" <Geoff.Oakham@cognos.com> wrote:
> template <class _myK>
> void sample_function (_myK a)
> {
> _myK::q blah;
^ you're missing the `typename' keyword here. It's required for
template-dependent typenames.
--
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-bugs
mailing list