Does the CTFE engine reuse variables?

Stefan Koch via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Apr 8 23:47:12 PDT 2017


On Sunday, 9 April 2017 at 05:42:02 UTC, Jethro wrote:
> Suppose one has a function that will be used in CTFE and it 
> uses a lot of local variables. Does each call of the function 
> end up allocating space for these without ever releasing them 
> or are they reused? or used on the stack like normal?

Nothing get's reeused.



More information about the Digitalmars-d-learn mailing list