Luna::WeakObjRef::operator=
WeakObjRef & operator=(WeakObjRef &&rhs)
Assigns this reference by moving the pointer from another reference.
The reference counter of the new boxed object is not modified. The weak reference counter of the original boxed object, if not null, will be decreased before assignment.
Parameters
-
in rhs
The reference to move from. This reference will be null after this operation.
Return value
Returns *this
.