Possible solution to template bloat problem?

Timon Gehr timon.gehr at gmx.ch
Tue Aug 20 08:17:45 PDT 2013


On 08/20/2013 02:34 AM, Ramon wrote:
> Well, I'm afraid that's what templates are. One (or the compiler) fills
> them in and that's it.
>
> In other words: Templates are compile time while (real) generics are run
> time.

If real generics means polymorphic type system then the difference is 
that templates are not part of the type system.



More information about the Digitalmars-d mailing list