Luna::ObjRef::operator=
ObjRef & operator=(ObjRef &&rhs)
Assigns this reference by moving the pointer from another reference.
The reference counter of the new boxed object is not modified. The strong 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
.