std.container / tightArray / class (de)allocators

Robert M. Münch robert.muench at robertmuench.de
Tue Jun 15 23:53:12 PDT 2010


On 2010-06-15 09:49:29 +0200, Robert M. Münch said:

> Hi, since std.container is now part of the DMD compiler and class 
> allocators/deallocaters are no longer part of the language, the way to 
> go now, as far as I understand now, it to use tightArray.
> 
> So, how to use tightArray to allocate structs and classes from a 
> specific memory pool? Will such allocations be under GC control or not?
> 
> For example: How do I ensure that an allocation is done from a 
> memory-mapped file area?

Has noone a tipp for me how to make & use an own allocator?

---
Robert M. Münch
http://www.robertmuench.de



More information about the Digitalmars-d mailing list