[Issue 16008] FreeList should implement deallocateAll, as SharedFreeList does
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 18 16:26:36 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=16008
Atila Neves <atila.neves at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |atila.neves at gmail.com
--- Comment #3 from Atila Neves <atila.neves at gmail.com> ---
FreeList implements deallocateAll iff the parent allocator implements it.
There's no way for FreeList!Mallocator to do that since there's no way to
deallocateAll for Mallocator. If you want to be able to call deallocateAll with
a FreeList, use a different parent allocator that has that capability.
--
More information about the Digitalmars-d-bugs
mailing list