Move Semantics with unique_ptr
问题 I am using Visual Studio 2012 Update 2 and am having trouble trying to understand why std::vector is trying to use the copy constructor of unique_ptr. I have looked at similar issues and most are related to not having an explicit move constructor and/or operator. If I change the member variable to a string, I can verify that the move constructor is called; however, trying to use the unique_ptr results in the compilation error: error C2248: 'std::unique_ptr<_Ty>::unique_ptr' : cannot access