T[] (array of generic type)

JR zorael at gmail.com
Mon Nov 18 12:11:48 PST 2013


On Monday, 18 November 2013 at 19:47:47 UTC, seany wrote:
> A natural choice is fuction(T)(T[] array, T var)
>
> but i dont find much info on this type on construction, is 
> there any material introducing me to this type of construction?

Ali's book has a good introduction to templates: 
http://ddili.org/ders/d.en/templates.html

There's also Philippe Sigaud's 150+ page tutorial: 
https://github.com/PhilippeSigaud/D-templates-tutorial


More information about the Digitalmars-d-learn mailing list