Explore >> Select a destination


You are here

nelari.us
| | danilafe.com
15.8 parsecs away

Travel
| | In this post, I talk about my favorite C/C++ pattern involving macros.
| | mpark.github.io
16.1 parsecs away

Travel
| | An anecdote about surprising implementation challenges of `FUN`.
| | www.foonathan.net
8.9 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...
| | www.cppstories.com
84.8 parsecs away

Travel
| What do you do when the code for a variable initialization is complicated? Do you move it to another method or write inside the current scope? In this blog post, I'd like to present a trick that allows computing a value for a variable, even a const variable, with a compact notation.