Explore >> Select a destination


You are here

www.thbecker.net
| | thbecker.net
0.6 parsecs away

Travel
| | [AI summary] An educational article by Thomas Becker explaining the purpose and mechanics of C++11 rvalue references, move semantics, and perfect forwarding.
| | blog.m-ou.se
3.5 parsecs away

Travel
| | 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.
| | www.fluentcpp.com
3.9 parsecs away

Travel
| | Storing a reference to an lvalue or an rvalue in the same object has always been difficult in C++. With std::variant, it becomes simple.
| | www.foonathan.net
30.8 parsecs away

Travel
| Just like regular function parameters, template parameters can also have default parameters. For class templates, this behaves mostly just like default function arguments: if you pass fewer template arguments than required, default template arguments are used to fill the remaining places. However, for function templates, it gets more complicated as template parameters for functions can be deduced by the normal function arguments. This leads to some interesting side-effects. In particular, default argumen...