How do I manually instantiate template functions with -fno-implicit-templates
Alexandre Oliva
oliva@dcc.unicamp.br
Tue Jan 6 12:22:00 GMT 1998
Mark Johnstone writes:
> Using egcs 1.0.X how do I manually instantiate template functions when
> I'm using -fno-implicit-templates, now that guiding decls have been
> removed?
> template void foo (bar a, baz b);
template void foo<> (bar a, baz b);
... should do.
--
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
mailing list