How do you use templates in D?

Trass3r un at known.com
Tue Oct 18 12:29:19 PDT 2011


> T[] genArray(T function() gen) {

T[] genArray(T)(T function() gen) {


More information about the Digitalmars-d mailing list