Explore >> Select a destination


You are here

arne-mertz.de
| | www.foonathan.net
5.4 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.fluentcpp.com
5.0 parsecs away

Travel
| | There is a particular case for default parameters: it's when their type is a template type. Read on to see how to get this right.
| | artificial-mind.net
5.3 parsecs away

Travel
| | Articles about Graphics, C++, Optimization, Game Development, Programming Languages, and more. Personal blog of Philip Tretter writing under the alias of Artificial Mind.
| | sim.coffee
48.4 parsecs away

Travel
| I'm posting this for my future self. This is the third night and the night that I have finally resolved a bug I have been fighting with. One day some variation of this bug will haunt me again, and at that time I will dig up this post and hopefully solve it much more quickly The bug occurred when