Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/alloc/SimpleGC.h>
Public Member Functions | |
Temp (SimpleGC &gc) | |
virtual | ~Temp (void) |
virtual void | collect (SimpleGC &gc)=0 |
Public Member Functions inherited from DLNode | |
DLNode * | next (void) const |
DLNode * | previous (void) const |
bool | atBegin (void) const |
bool | atEnd (void) const |
void | replace (DLNode *node) |
void | insertAfter (DLNode *node) |
void | insertBefore (DLNode *node) |
void | remove (void) |
void | removeNext (void) |
void | removePrevious (void) |
This class records itself to a garbage collector as representing a set of alive values. When a garbage collection is started, the collect() method is called.
References DLNode::remove().
Implemented in TempPtr< T >.