#include <gc.hpp>
Public Types | |
| typedef T | value_type |
Public Member Functions | |
| root_ref (T *t) | |
| Keeps a root ref on t. | |
| root_ref (const root_ref &other) | |
| Keeps a root ref on other. | |
| ~root_ref () | |
| Releases the root ref. | |
| root_ref & | operator= (root_ref other) |
| Ref other and release current ref. | |
| T * | operator-> () const |
| Access the object. | |
| T & | operator* () const |
| Access the object. | |
| T * | get () const |
| Access the object. | |
| void | swap (root_ref &other) |
| Swaps with another object. | |
A root variable is an object which is in the "root set". Root variables are never deleted by the garbage collector, and are used to seed the search of all live objects.
Definition at line 194 of file gc.hpp.
1.5.7.1