This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Q: template instantiation, exception specifications
- To: egcs at cygnus dot com
- Subject: Q: template instantiation, exception specifications
- From: Niku Kaitaniemi <niksa at uta dot fi>
- Date: Thu, 9 Apr 1998 06:17:54 +0300 (EET DST)
Which is the optimal way of instantiating templates, measured either by
compile time or by g++ memory usage during compilation? I am currently
instantiating templates explicitly the way I did with g++ v2.7.2 (only
template declaration included in non-template code compiled with
-fno-implicit-templates and a single template instantiation file that
includes template declarations and is compiled without
-fno-implicit-templates).
Does egcs do something differently when it sees exception specifications?
I am mainly thinking about possibly code speed/size optimizations.
--
"This code is guaranteed." - Famous last words
niksa@uta.fi