Determine if template argument is an array
Christopher Wright
dhasenan at gmail.com
Thu May 21 17:13:46 PDT 2009
Fractal wrote:
> Hello
>
> Any body can explan me how to determine if a template argument is an array?
>
> Thanks
Have a look at std.traits or tango.core.Traits. The appropriate way to
check is via the templates they define, since it's clearer. Looking at
the source will tell you how to replicate the effect should you need to.
More information about the Digitalmars-d-learn
mailing list