#include <ixlib_garbage.hh>
Inheritance diagram for ixion::no_free_dynamic_ref::

Public Methods | |
| no_free_dynamic_ref (no_free_dynamic_ref const &src) | |
| no_free_dynamic_ref (reference_manager< T > &mgr, T *instance=NULL) | |
| ~no_free_dynamic_ref () | |
| no_free_dynamic_ref& | operator= (no_free_dynamic_ref const &src) |
| no_free_dynamic_ref& | operator= (T *ptr) |
| void | release () |
| void | set (T *instance) |
| T* | releaseFromGCArena () |
Protected Attributes | |
| reference_manager<T>& | Manager |
This is useful to pass objects allocated e.g. on the stack along inside ref's, while making sure they aren't freed. (which would most probably lead to disaster)
no_free_ref's are mostly a hack, but there are situations where you cannot avoid them. But even so, you should try not to use them where possible.
The corresponding reference_manager is identified explicitly.
Definition at line 326 of file ixlib_garbage.hh.
|
||||
|
Definition at line 331 of file ixlib_garbage.hh. |
|
||||||
|
Definition at line 335 of file ixlib_garbage.hh. |
|
||||
|
Definition at line 339 of file ixlib_garbage.hh. |
|
||||
|
Definition at line 348 of file ixlib_garbage.hh. |
|
||||
|
Definition at line 344 of file ixlib_garbage.hh. |
|
||||
|
Definition at line 354 of file ixlib_garbage.hh. |
|
||||
|
Definition at line 365 of file ixlib_garbage.hh. |
|
||||
|
Definition at line 358 of file ixlib_garbage.hh. Referenced by operator=(). |
|
|||
|
Definition at line 328 of file ixlib_garbage.hh. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001