Does moving leave the object in a usable state?
Say I have two vectors and I move one unto the other, v1 = std::move(v2); will v2 still be in a usable state after this?
Say I have two vectors and I move one unto the other, v1 = std::move(v2); will v2 still be in a usable state after this?
We use cookies to ensure the best experience on our website. This includes analytics, personalization, and marketing purposes. Some cookies are essential for the website to function properly.
By clicking "Accept", you consent to our use of cookies. You can read more about how we use cookies and how you can change your preferences in our Privacy Policy.