On 26 November 2012 19:28, jerro <a...@a.com> wrote:

> However, going with that, the supplementary question is, how do I then
>> discover if bar[0] is a symbol or not? I can't see any traits to test for
>> builtin types...
>>
>
> You could use the fact that alias parameters can not be builtin types,
> like this:
>
> template TestSymbol(alias a){}
>
>  __traits(compiles, TestSymbol!(bar[0]))
>

>_< .. I feel like crying every time 'compiles' comes up.

Reply via email to