std.mixins

Torarin torarind at gmail.com
Wed Sep 1 12:47:11 PDT 2010


It says: "If a.fun(b, c, d) is seen but fun is not a member of a's
type, D rewrites that as fun(a, b, c, d) and tries that as well."
So I guess it's possible it won't work with numerical types because
they can never have members.

2010/9/1 Philippe Sigaud <philippe.sigaud at gmail.com>:
> On Wed, Sep 1, 2010 at 20:59, Nick Sabalausky <a at a.a> wrote:
>>
>> "Torarin" <torarind at gmail.com> wrote in message>TDPL says it should work
>> for any type.
>> >http://d.puremagic.com/issues/show_bug.cgi?id=3382
>>
>> /me squeals with excitement like a schoolgirl
>>
>>
> Any type, really? Even the basic built-in types, not only class/struct?
> That'd fun.
>
>
>


More information about the Digitalmars-d mailing list