This post is just to note down an interesting talk: Universal References in C++11 , presented by Scott Meyers at C++ and Beyond 2012 . The talk shares a good method to understand (or memorize) the rvalue reference and reference collapsing rules in modern C++, with the help of his self-created concept called Univeral Reference1.
Here is the link to the slides. and since I have downloaded it already, you could also get my copy of it.
-
Believe me, there’s no such thing in C++ standard. ↩︎