Walter Bright Wrote: > Lars T. Kyllingstad wrote: > > Though the feature seems useful, I worry about the asymmetry with scope > > classes. I think it will be very confusing to new D programmers that a > > scope class and a scope struct have very little to do with each other. > > I agree, except I more and more think that scope classes were a mistake. > Structs with destructors are a much better solution, and wrapping a > class inside a struct would give it RAII semantics.
stack allocs will be quite a hack...
