Explore >> Select a destination


You are here

mpark.github.io
| | www.foonathan.net
5.0 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
5.1 parsecs away

Travel
| | With std::optional you can represent some Type or nothing. With std::variant you can wrap several variants into one entity. And C++17 gives us one more wrapper type: std::any that can hold anything in a type-safe way. The Basics So far in the Standard C++, you had not many options when it comes to holding variable types in a variable.
| | www.kuniga.me
4.5 parsecs away

Travel
| | NP-Incompleteness:
| | waituntilnextyear.com
15.3 parsecs away

Travel
| 1 post published by Steve on September 21, 2020