mixins as inline functions
Serg Kovrov
kovrov at no.spam
Fri Aug 18 02:08:29 PDT 2006
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