[Issue 23318] GCAllocator should not implement deallocate

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 3 21:38:38 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23318

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@pbackus created dlang/phobos pull request #8555 "Add GCHeapMallocator"
mentioning this issue:

- Add GCHeapMallocator

  It has been proposed to change the behavior of GCAllocator to more
  closely match that of the built-in GC (in particular, to make it @safe).
  In preparation for that change, this change makes the original behavior
  of GCAllocator available under a new name, GCHeapMallocator.

  When GCAllocator is changed, users may choose to either adopt the new
  behavior or migrate to GCHeapMallocator and retain the original
  behavior.

  For the rationale behind these changes, see PR #8554 and issue 23318.

https://github.com/dlang/phobos/pull/8555

--


More information about the Digitalmars-d-bugs mailing list