> If I could specify which memory allocator to use when creating a class, > The class could be created in a MMF (which is mapped to main memory and > hence there should be no difference in speed) and all references would > go to the MMF as well. > Isn't http://digitalmars.com/d/2.0/class.html#ClassAllocator what you want?