Luna::UniquePtr::swap

void swap(UniquePtr &rhs)

Swaps native pointers of this smart pointer with the specified smart pointer.

Parameters

  • in rhs

    The smart pointer to swap with.