question as to when a new command gets executed
Jesse Phillips
Jesse.K.Phillips+D at gmail.com
Thu Nov 12 02:15:58 UTC 2020
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.
More information about the Digitalmars-d-learn
mailing list