Takes ownership over rhs. Initializes this
$(D_PSYMBOL RefCounted) if needed.
If it is the last reference of the previously owned object,
it will be destroyed.
To reset $(D_PSYMBOL RefCounted) assign $(D_KEYWORD null).
If the allocator wasn't set before, $(D_PSYMBOL defaultAllocator) will
be used. If you need a different allocator, create a new
$(D_PSYMBOL RefCounted) and assign it.
Takes ownership over rhs. Initializes this $(D_PSYMBOL RefCounted) if needed.
If it is the last reference of the previously owned object, it will be destroyed.
To reset $(D_PSYMBOL RefCounted) assign $(D_KEYWORD null).
If the allocator wasn't set before, $(D_PSYMBOL defaultAllocator) will be used. If you need a different allocator, create a new $(D_PSYMBOL RefCounted) and assign it.