Obtain pointer from static array literal

Imperatorn johan_forsberg_86 at hotmail.com
Sat Oct 9 13:11:29 UTC 2021


On Saturday, 9 October 2021 at 10:44:30 UTC, Some Guy wrote:
> On Friday, 8 October 2021 at 14:07:27 UTC, russhy wrote:
>> https://run.dlang.io/is/S8uMbp
>>
>
> Maybe this is kind of unrelated, but what is happening here and 
> why does it work?
>
> It looks like you've replaced the GC's allocation functions 
> with custom ones, but I couldn't find any documentation on how 
> to do that.

Look in core.memory 
(https://github.com/dlang/druntime/blob/master/src/core/memory.d)




More information about the Digitalmars-d-learn mailing list