C++11 разрешает перемещающее присваивание для std::unique_ptr.
std::unique_ptr
cpp
Register or sign in to get access to full answers for all questions from the question bank.