Yet another MRV proposal!
downs
default_357-line at yahoo.de
Mon Apr 14 03:25:33 PDT 2008
downs wrote:
> Well, I see two ways around that ..
>
> the first is "with (test()) { use a and b here; }"
>
> the second is to allow mixins to work on non-templates, so you could mixin test() to get a and b in the current scope.
>
> the third is
Three, three ways. Our three ways of MRV are with, mixin and
> to use some type of struct variable holder using pointers, that allows assignment from same-layout other-type structs
the fourth is .. I'll come in again.
:hasty exit:
More information about the Digitalmars-d
mailing list