On Wednesday, 11 November 2020 at 22:29:00 UTC, SealabJaster wrote:
On Wednesday, 11 November 2020 at 22:10:38 UTC, WhatMeWorry wrote:
Thanks. Would you or anyone reading this know if this is unique to D or does C++ also behave like this? Also, where is the memory, that new allocates? Is it in the heap (thought heap was available only at runtime) or some other place? (Certainly not the stack, right?)

I'm pretty sure this is the way it works in C# as well.

C# isn't compile time, it is more a pre-constructor generated by the compiler.

Reply via email to