Declaring Non-Type Template Parameters With auto
Explore how C++17 enables the use of auto to deduce non-type template parameters, removing the need to specify types explicitly. This lesson helps you understand this template enhancement to write more flexible and concise code, including advanced examples like heterogeneous compile-time lists.
We'll cover the following...
We'll cover the following...
This is another part of the strategy to use auto everywhere. With C++11 and C++14 you can use
it to deduce variables or even return types automatically, plus there are also generic lambdas. ...