I'm trying to make a private implementation for a vertex class. I am using smart pointers to store its values, but for some reason I can't transfer ownership with std::move.
Error (active) function "std::unique_ptr<_Ty, _Dx>::operator=(const std::unique_ptr<_Ty, _Dx>::_Myt &) [with _Ty=GLfloat, _Dx=std::default_delete<GLfloat>] cannot be referenced -- it is a deleted function
Also, if that's how you're writing constructors, you're double-initializing your classes. By the time the opening brace of a C++ constructor is reached, every member and base is fully initialized, and undoing all that only to replace the members again as you did with yaw =std::move(other.yaw); etc is doing fruitless work: