Q: template instantiation, exception specifications
Niku Kaitaniemi
niksa@uta.fi
Wed Apr 8 21:20:00 GMT 1998
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
More information about the Gcc
mailing list