std.mixins

Torarin torarind at gmail.com
Wed Sep 1 13:01:33 PDT 2010


2010/9/1 Philippe Sigaud <philippe.sigaud at gmail.com>:
> I just tried this:
>
>
>     int i;
>     writeln(i.max); // writes int.max !
>
> So it seems you can access the type properties through a value of that type.
> Man, I learnt two new things in two minutes...
>

 Yay, looks pretty good, then! :)


More information about the Digitalmars-d mailing list