Move Semantics in C++
Causing Move Semantics with std::move()
...
// Creating an object using Move constructor Object obj2 = std::move(obj1); // Creating an object using Move assignment operator Object obj3; obj3 = std::move(obj2);
...