#include <nub/weak_handle.h>
Public Member Functions | |
weak_handle (T *master, ref_type tp) throw () | |
weak_handle (const weak_handle &other) throw () | |
weak_handle & | operator= (const weak_handle &other) throw () |
bool | is_valid () const throw () |
T * | get () const |
T * | get_weak () const throw () |
ref_type | get_ref_type () const throw () |
weak_handle manages memory etc., and provides one important guarantee: it will never return an invalid pointer from get() (an exception will be raised if this would fail).
Definition at line 60 of file weak_handle.h.