www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16008] New: FreeList should implement deallocateAll, as


          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.


May 09 2016