Creating a local heap

To create a local heap, simply use new to create a TLocalMemoryHeap object:

    TLocalMemoryHeap* localHeap = new TLocalMemoryHeap(size);
To create a heap only for temporary use, you need not use new to declare it.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker