I keep hearing that scope variables are going away. I missed the discussion on it. Why is this happening?

When I read about this, I have these in mind:

void someFunc()
{
        // foo is very likely to get stack allocated
        scope foo = new SomeClass();
        foo.use();
        // ~foo is called.
}

Reply via email to