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);
Int64 Int
signed 32/64 bit int, size depends on the platform
Definition: apibase.h:187
#define DebugAssert(condition,...)
Definition: debugdiagnostics.h:242
#define DeleteObj(obj)
Definition: newobj.h:159
#define NewObj(T,...)
Definition: newobj.h:108
#define iferr_return
Definition: resultbase.h:1531