|
You are here |
www.thbecker.net | ||
| | | | |
thbecker.net
|
|
| | | | | [AI summary] An educational article by Thomas Becker explaining the purpose and mechanics of C++11 rvalue references, move semantics, and perfect forwarding. | |
| | | | |
www.foonathan.net
|
|
| | | | | When C++11 introduced move semantics, it also added two important helper functions: std::move and std::forward. They are essential when you want to manually indicate that you no longer care about an object or need to propagate the value category in generic code. As such, Ive used them countless times in the past. However, they are functions. Plain, old, standard library functions. This is problematic for multiple reasons. | |
| | | | |
blog.m-ou.se
|
|
| | | | | Recently, gcc added support rvalue references for *this. (Clang has supported it for quite a while now.) In this post, I show how to use this feature, and how it means we can finally define accessors and a few other things like operator= correctly. | |
| | | | |
jguegant.github.io
|
|
| | | Trivia: As a C++ enthusiast, I usually follow the annual C++ conference cppconf or at least try to keep myself up-to-date with the major events that happen there. One way to catch up, if you can't afford a plane ticket or the ticket, is to follow the youtube channel dedicated ... | ||