|
You are here |
hellocplusplus.com | ||
| | | | |
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. | |
| | | | |
erikmcclure.com
|
|
| | | | | [ 1 · 2 · 3 · 4 · 5 · 6 · 7 ] If you are familiar with C#, you should be familiar with the difference between C#'s struct and class declarations. Namely, a struct is a value type and a class is a reference type, meaning that if you pass a struct to a function, its default behavior is for the entire struct to be copied into the function's parameter, so any modifications made to it won't affect whatever was passed in. | |
| | | | |
herbsutter.com
|
|
| | | | | C++ "move" semantics are simple, and unchanged since C++11. But they are still widely misunderstood, sometimes because of unclear teaching and sometimes because of a desire to view move as something else instead of what it is. This post is an attempt to shed light on that situation. Thank you to the following for their... | |
| | | | |
nullprogram.com
|
|
| | | |||