/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

brevzin.github.io
| | www.foonathan.net
3.2 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...
| | isocpp.org
2.1 parsecs away

Travel
| | [AI summary] This article details a C++ Standards Committee proposal introducing new library functions like define_static_string and define_static_array to manage compile-time storage at runtime.
| | mpark.github.io
2.8 parsecs away

Travel
| | Can we work around the limitations of non-type template parameters?
| | eyakubovich.github.io
17.2 parsecs away

Travel
| Most of the time we don't have to worry about defining copy/move constructors and assignment operators -- the compiler happily generates them for us. Sometimes, however, we must do the dirty work ourselves and code them up manually, often together with the destructor. By hand crafting the assignment operators, we...