On Thursday, 5 January 2023 at 05:59:26 UTC, Ali Çehreli wrote:

While we're here, you can force the class objects to be on the stack as well:

    scope MyClassVar1 = new MyClass();

I replaced 'auto' with 'scope'.

Ali

Very interesting.  Thanks Ali.


Reply via email to