PerClassHeap Class Reference

Enable the use of one heap for all class memory allocation. More...

#include <perclassheap.h>


Detailed Description

Enable the use of one heap for all class memory allocation.

This class contains one instance of the SuperHeap argument. The example below shows how to make a subclass of Foo that uses a FreelistHeap to manage its memory, overloading operators new and delete.

class NewFoo : public Foo, PerClassHeap<FreelistHeap<mallocHeap> > {};


The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:28 2011 for Galois by  doxygen 1.6.3