Templates in FPL?

Carl R. Witty cwitty@newtonlabs.com
22 May 2001 17:19:50 -0700


"D. Tweed" <tweed@cs.bris.ac.uk> writes:

> In my experience the C++ idiom `you only pay for what you use' (==>
> templates are essentially type-checked macros) and the fact most compilers
> are evolved from C compilers makes working with templates a real pain in
> practice.

I'm not sure what you mean by type-checked here.  Templates are not
type-checked at definition time, but are type-checked when they are
used; the same is true of ordinary macros.

Carl Witty