Explore >> Select a destination


You are here

hashrust.com
| | www.greyblake.com
9.1 parsecs away

Travel
| | A blog about software development.
| | josephg.com
11.0 parsecs away

Travel
| |
| | mcyoung.xyz
11.2 parsecs away

Travel
| |
| | www.foonathan.net
114.3 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...