On Friday, 11 May 2012 at 18:21:24 UTC, H. S. Teoh wrote:
Templates are stencils for generating code. There's nothing confusing about that.
"Stencils for generating code"? _This_??! :O
template hasMember(T, string name)
{ enum hasMember = __traits(hasMember, T, name); }
Imagine a new user's confusion when seeing something like this.
(Not sure I got it exactly right, but my point is there.)
