What does @nogc do to a class?

Per Nordlöw per.nordlow at gmail.com
Thu May 6 22:16:04 UTC 2021


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;


More information about the Digitalmars-d-learn mailing list