March 23, 2014
On Sun, Mar 23, 2014 at 2:50 PM, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:

> Pretty sure it's because you're using 'alias' instead of 'enum'. This works:

Oww! For years, D told me I couldn't use __traits in an easy way like this. I'll have to teach me out of it, and use enum :-) Damn, but using enum is quite natural too. Thanks Andrej.

Now, if only __traits could be beautified somewhat... I mean: everyone is using it, it's time to make it more palatable.
March 23, 2014
On 3/23/14, Philippe Sigaud <philippe.sigaud@gmail.com> wrote:
> Now, if only __traits could be beautified somewhat... I mean: everyone is using it, it's time to make it more palatable.

That's what std.traits is for, to hide the __traits and is() uglyness.
1 2
Next ›   Last »