Luna::WeakObjRef::WeakObjRef
WeakObjRef(object_t rhs)
Constructs one reference by providing the underlying pointer directly.
The weak reference counter of the new boxed object will be increased if the provided pointer is valid.
Parameters
-
in ptr
The pointer to set.