Nobody understands templates?

Tobias Pankrath tobias at pankrath.net
Mon Mar 3 10:32:55 PST 2014


On Monday, 3 March 2014 at 18:03:12 UTC, Frustrated wrote:
>
> If you don't attempt to use templates, even in example code, 
> you won't get it.

What I don't get in this discussion is that all those fine phobos 
examples are neglected. Yes, it is library code, but 
writef/formattedWrite/std.conv.to, std.container, std.range, 
std.algorithm are only possible with meta-programming and are 
fine examples of the usefulness of templates.

This thread looks like this to me: I bought a new hammer, but not 
everything is a nail. Give me back my money!


More information about the Digitalmars-d-learn mailing list