/explore
|
You are here |
sudonull.com | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
pagefault.blog
C++11 move semantics can be a source of misunderstandings if the mechanics are not understood. This post clears up the most common one. |
|
| | | | | ||
| | | | |
manuelmoreale.com
No matter how busy life is, there's always time to admire a beautiful sunset. |
|
| | | |||