Generic memory allocation in D

Dom DiSc dominikus at scherkl.de
Mon Mar 4 08:06:20 UTC 2024


On Monday, 4 March 2024 at 07:35:52 UTC, Walter Bright wrote:
> https://github.com/dlang/dmd/pull/16291
>
> I had talked about this in the last DConf. Here's another 
> example of how memory allocation can be user-controlled rather 
> than selected by the algorithm. I've been turning to this more 
> and more with DMD and the results are good.

Nice.
But why does it now return true on failure and false on success?
Isn't this exacly the bad re-definition of boolean you advised us 
not to use?



More information about the Digitalmars-d mailing list