On Thursday, 6 May 2021 at 01:04:02 UTC, Jack wrote:
Does it allocate the object rather on stack, like auto scope a = new A or what?
Further note that auto scope a = new A; can be written shorter as scope a = new A;
Per Nordlöw via Digitalmars-d-learn Thu, 06 May 2021 15:20:41 -0700
On Thursday, 6 May 2021 at 01:04:02 UTC, Jack wrote:
Does it allocate the object rather on stack, like auto scope a = new A or what?
Further note that auto scope a = new A; can be written shorter as scope a = new A;