Fun with templates

Dicebot public at dicebot.lv
Sun Jul 7 10:48:16 PDT 2013


On Saturday, 6 July 2013 at 18:54:16 UTC, TommiT wrote:
> He's talking about changing the semantics only on POD types, 
> like int, struct of ints, static array of ints... only types 
> that can implicitly convert from immutable to mutable.

Than it does not really solve anything. Have you measured how 
much template bloat comes from common meta-programming tools like 
std.algorithm and how much - from extra instances for qualified 
POD types? It is better to solve broad problem instead and get 
this special case for free, not add more special cases in a 
desperate attempts to contain it.


More information about the Digitalmars-d mailing list