On Saturday, 9 October 2021 at 13:11:29 UTC, Imperatorn wrote:
>Look in core.memory (https://github.com/dlang/druntime/blob/master/src/core/memory.d)
Does this technique work for all D runtime (or std) functions? Can we just define what the function is and then the compiler uses our definition instead of the definition inside the runtime?
I would've thought that our definition is just another overload but I guess extern(C)
prevents that.