digitalmars.D.bugs - [Issue 16008] New: FreeList should implement deallocateAll, as
- via Digitalmars-d-bugs (21/21) May 09 2016 https://issues.dlang.org/show_bug.cgi?id=16008
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: b2.temp gmx.com Reporter: b2.temp gmx.com 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 --
May 09 2016