std.container / tightArray / class (de)allocators

Robert M. Münch robert.muench at robertmuench.de
Tue Jun 15 00:49:29 PDT 2010


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?

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



More information about the Digitalmars-d mailing list