/explore
|
You are here |
hellocplusplus.com | ||
| | | | |
blog.knatten.org
In which I briefly mention what pure functional programming is, explain why this can be slow in C++, and use move semantics to solve that problem. Be warned that this post is a bit longer than usual for this blog, and that it assumes more knowledge of C++11 than my posts usually do. Pure functional... |
|
| | | | | ||
| | | | |
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... |
|
| | | | | ||
| | | | |
dlang.org
D Programming Language |
|
| | | |||