Takes ownership of the value held by the supplied std::unique_ptr
instance, replacing the value currently held. Decreases the use_count()
for the old value.
template<typename Other,typename Deleter> shared_ptr& operator=(std::unique_ptr<Other,Deleter>&& other) noexcept;
shared_ptr& operator=(std::unique_ptr<Other,Deleter>&& other) noexcept{ shared_ptr temp(std::move(other)); this->swap(temp); return *this; }
#include <experimental/atomic>