#include <collector.h>
Static Public Methods | |
| void * | allocate (size_t s) |
| bool | collect () |
Definition at line 59 of file collector.h.
|
|
Register an object with the collector. The following assumptions are made:
|
|
|
Run the garbage collection. This involves calling the delete operator on each object and freeing the used memory. |
1.2.18