On Thu, May 20, 1999 at 03:07:03PM +0200, Sven LUTHER wrote:
> I also heard that templates bloat the code

Depends on how you use them.  Templates work by duplicating code.

> what size are your executable compared to equivalent C stuff,

Equivalent C code?  For every template in C++ the equivalent code
parametrised with macro expanion?  About the same.

> what speed do you loose by using C++ templates.

Runtime speed?  None.  Templates are optimised for speed.  In fact, one
of the design goals of C++ is that all features must be implementable
affordably (from a systems programming point of view).

-- 
%%% Antti-Juhani Kaijanaho % [EMAIL PROTECTED] % http://www.iki.fi/gaia/ %%%

                      Good Times are back again!
                  http://www.iki.fi/gaia/zangelding/

Reply via email to