https://issues.dlang.org/show_bug.cgi?id=16008
Issue ID: 16008
Summary: FreeList should implement deallocateAll, as
SharedFreeList does
Product: D
Version: D2
Hardware: All
OS: All
Status: ASSIGNED
Severity: enhancement
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
THis can be necessary.
An example that was posted on SO ([1]), if one embeds a FreeList in an
aggregate, it's very probable that the FreeList has to be cleared in the
aggregate __ctor, which is not possible now.
[1]:
http://stackoverflow.com/questions/36719532/how-can-i-free-all-the-items-of-a-freelist
--