Denis Koroskin wrote: > ...
Scope stack-allocating is an optimisation. It doesn't guarantee it
because that it's the point of scope.
Given that you're hung-up about stack allocation, I can't imagine how
you'd implement scope as a template. Hell, I can't imagine how you'd
implement Scope as a template for *any* of its behaviours.
class Foo
{
Scope!(Bar) _bar;
}
How do you guarantee deterministic destruction when it's inside a
non-deterministic construct?
-- Daniel
