Part 1 of this series covered lambdas, auto, and static_assert.
Â
Today, I'm going to talk about rvalue references, which enable two different things: move semantics and perfect forwarding. This post will be long, because I'm going to explain how rvalue references work in great detail. They're initially very confusing because they ...