D dropped in favour of C# for PSP emulator

Mehrdad wfunction at hotmail.com
Fri May 11 16:54:40 PDT 2012


On Friday, 11 May 2012 at 23:47:18 UTC, Walter Bright wrote:
>
> I tend to agree. I think this is better (I've never gotten 
> around to implementing it):
>
>   enum hasMember(T, string name) = __traits(hasMember, T, name);
>
> I.e. analogously to struct templates.

Mmmm... I like the idea/syntax, but not the word "enum". It 
certainly has nothing to do with enums, so I think it'd be even 
more confusing in that regard. :)


More information about the Digitalmars-d mailing list