Re: Determine if template argument is an array

2009-05-22 Thread Jarrett Billingsley
On Thu, May 21, 2009 at 8:00 PM, Fractal wrote: > Fractal Wrote: > >> Hello >> >> Any body can explan me how to determine if a template argument is an array? > > ...And also if is an associative array > >> Thanks > You can also use template specialization, which, depending on your use case, might

Re: Determine if template argument is an array

2009-05-21 Thread Christopher Wright
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

Re: Determine if template argument is an array

2009-05-21 Thread Fractal
Fractal Wrote: > Hello > > Any body can explan me how to determine if a template argument is an array? ...And also if is an associative array > Thanks

Determine if template argument is an array

2009-05-21 Thread Fractal
Hello Any body can explan me how to determine if a template argument is an array? Thanks