Move Semantics and Rvalue References in C++

Move semantics and rvalue references are two advanced and confusing features added in C++11. In this article, I will explain what they are and why they are needed. Let’s start with the main problem they are trying to tackle (yes, together).

Problem: Unnecessary Copy of Objects