Use of templates to avoid redudancy of code

Mael mael.primet at
Tue Jun 3 11:20:16 PDT 2008

> a simple compile time solution is to make the looping construct a 
> template, and the action a template parameter (either alias or char[] 
> to mixin if you need).
To what does the "alias" correspond ? A function acting on the code? 

More information about the Digitalmars-d-learn mailing list