GC.addRange in pure function

Max Haughton maxhaton at gmail.com
Tue Feb 9 20:50:12 UTC 2021


On Tuesday, 9 February 2021 at 19:53:27 UTC, Temtaime wrote:
> On Sunday, 7 February 2021 at 14:13:18 UTC, vitamin wrote:
>> Why using 'new' is allowed in pure functions but calling 
>> GC.addRange or GC.removeRange isn't allowed?
>
> pure is broken. Just don't [use it]


[Citation needed]


More information about the Digitalmars-d-learn mailing list