template<typename TYPE>
class maxon::WeakRawPtr< TYPE >
WeakRawPtr allows to create weak references to all memory blocks and objects created with NewObj() or NewMem().
- Note
- : in multithreaded use it might happen that the destructor of the object is already called but the memory block is still linked.
WeakRawPtr<Int> link;
link.Set(rawPtr);
maxon::Int Int
Definition: ge_sys_math.h:64
#define DebugAssert(condition,...)
Definition: debugdiagnostics.h:248
#define DeleteObj(obj)
Definition: newobj.h:159
#define NewObj(T,...)
Definition: newobj.h:108
#define iferr_return
Definition: resultbase.h:1519