Explore >> Select a destination


You are here

nelari.us
| | mpark.github.io
2.8 parsecs away

Travel
| | Can we work around the limitations of non-type template parameters?
| | www.foonathan.net
2.6 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...
| | studiofreya.org
1.9 parsecs away

Travel
| |
| | ventspace.wordpress.com
26.5 parsecs away

Travel
| Something that comes up occasionally for me is that I'd like to write a template function that accepts a lambda, and then peels back the layers of the lambda to get type information about it. For example, I'd like to have a templated type parameter for the return value of that lambda to be able...