Understanding Templates: why can't anybody do it?
Sean Kelly
sean at invisibleduck.org
Fri Mar 23 09:49:52 PDT 2012
On Mar 22, 2012, at 10:31 PM, H. S. Teoh wrote:
> On Fri, Mar 23, 2012 at 01:16:13AM -0400, Nick Sabalausky wrote:
>> "Nick Sabalausky" <a at a.a> wrote in message
>> news:jk2ro7$6dl$1 at digitalmars.com...
>>>
>>> Here's a little templates primer, I hope it helps:
>>>
>>> [...]
>>
>> I've cleaned this up, added an intro and outro, and posted it on my
>> website here:
>>
>> https://www.semitwist.com/articles/article/view/template-primer-in-d
> [...]
>
> +1. Good introduction to D templates.
>
> Pity you didn't get into fancy stuff like recursive templates, but I
> suppose that's out of the scope of an intro. :-)
The chapter on templates in Learn to Tango with D gets into the basics of template metaprogramming, but in article form it would probably be part 3 of a series. I think that chapter is ~20 pages long.
More information about the Digitalmars-d
mailing list