Fun with templates

Marco Leise Marco.Leise at gmx.de
Sun Jul 7 04:48:54 PDT 2013


Am Sat, 06 Jul 2013 17:24:23 +0200
schrieb "Dicebot" <public at dicebot.lv>:

> On Saturday, 6 July 2013 at 01:35:09 UTC, Manu wrote:
> > ...
> 
> If this is about template bloat I think much better is to address 
> problem in general. For example, internal linkage or strict 
> export requirements - anything that will allow to inline and 
> completely eliminate trivial templates leaving no traces of it in 
> final executable.

Less duplicate instantiations results in faster compile times.
An area where DMD is really good and should strive to keep its
pole position.

-- 
Marco



More information about the Digitalmars-d mailing list