mixins as inline functions
Craig Black
cblack at ara.com
Fri Aug 18 08:40:42 PDT 2006
There should definitely be plans for the evolution of mixins. The feature
is way jacked up and unusable for a lot of things that should work. I don't
forsee anything changing for 1.0 though.
-Craig
"Serg Kovrov" <kovrov at no.spam> wrote in message
news:ec402d$pgv$1 at digitaldaemon.com...
> First time I looked at mixins in D reference, I thought that it could be
> used as inline function. Like a big C macro. But better =)
>
> It has its own scope, it has access to parent scope, everything seems fit.
> Except that in mixins it is not possible to use assign operations. Could
> this restriction be removed in future? Is there any plans for mixins
> evolution?
>
> --
> serg.
More information about the Digitalmars-d
mailing list