#include <ixlib_garbage.hh>
Inheritance diagram for ixion::ref::
Public Methods | |
ref (ref const &src) | |
template<class T2> | ref (ref< T2, T_Managed > const &src) |
template<class T2> | ref (no_free_ref< T2, T_Managed > const &src) |
ref (T *instance=NULL) | |
~ref () | |
ref & | operator= (ref const &src) |
ref & | operator= (T *ptr) |
void | release () |
void | set (T *instance) |
T * | releaseFromGCArena () |
Example:
int main() { ref<int> my_int = new int(5); my_int = 17; ref<int> another_int = my_int; another_int = 12;
my_int == 12; // true } IXLIB_GARBAGE_DECLARE_MANAGER(int)
Definition at line 123 of file ixlib_garbage.hh.
|
Definition at line 127 of file ixlib_garbage.hh. |
|
Definition at line 132 of file ixlib_garbage.hh. |
|
Definition at line 137 of file ixlib_garbage.hh. |
|
Definition at line 141 of file ixlib_garbage.hh. |
|
Definition at line 145 of file ixlib_garbage.hh. |
|
Definition at line 153 of file ixlib_garbage.hh. |
|
Definition at line 149 of file ixlib_garbage.hh. |
|
Definition at line 159 of file ixlib_garbage.hh. |
|
Definition at line 170 of file ixlib_garbage.hh. |
|
Definition at line 163 of file ixlib_garbage.hh. Referenced by operator=().
|