Compile-time arguments and function wrappers
24 August 2016
Passing values in C++ as template arguments has limitations. For example, when a function template is wrapped in a functor class, there is no way to pass a value as a template argument.