www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15775] New: Object.factory replacement based on experimental

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

          Issue ID: 15775
           Summary: Object.factory replacement based on experimental
                    allocators
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: b2.temp gmx.com

Object.factory always allocates in the GC-heap. 

We could imagine a replacment that uses std.experimental.allocators to allow
something like a factory that would be manually managed or that would use a
free list, according to the user needs.

--
Mar 06 2016