An assignment operator.
rrRight | is an rvalue reference to an instance of the AutoResource to be moved to the instance being currently constructed. |
this->reset();Otherwise, it acquires assets of the rrRight, with a behaviour equivalent to
this->reset(rrRight.release()); this->get_closer() = std::move<closer_type>(rrRight.get_closer()); this->IsHandleValid = std::move<checker_type>(rrRight.IsHandleValid);Standard copy assignment is not allowed for AutoResource objects.