You can't assign an ordinary pointer: std::unique_ptr<ClassA> ptr; ... passed as an argument to the function by rvalue reference created with std::move().
確定! 回上一頁