Why does this not work anymore?

Martin martinbbjerregaard at gmail.com
Sat Mar 23 04:57:30 PDT 2013


On Saturday, 23 March 2013 at 11:55:37 UTC, Andrej Mitrovic wrote:
> On Saturday, 23 March 2013 at 10:46:11 UTC, Martin wrote:
>>    enum allMembers = __traits(allMembers, T);
>
> Try:
>      enum allMembers = [__traits(allMembers, T)];

That actually works, thanks. I thought tuples were supposed be 
indexable though


More information about the Digitalmars-d mailing list