const Rvalue References

Let’s learn about the const rvalue references.

We'll cover the following...

What are rvalue references?

Let’s start with a quick recap on rvalue references. They were introduced in C++11. Since then, we have referred to the traditional references (marked with one &) as lvalue references.

Using rvalue (&&) references, we can avoid unnecessary copying ...