This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ automatic template instantiation?
On Wednesday, 19 April 2000, Martin v. Loewis wrote:
> > Is there any code in the current snapshots to replace manual template
> > instantiation? The existing -frepo in 2.95.2 appears to miss lots of
> > used symbols.
>
> There is code in gcc 2.95.2 to replace manual template
> instantiation. Just compile without -frepo, and all will work fine.
Isn't that going to make your code n times larger because it will
instantiate all the templates in all the object files?
Tudor