Variadic template ambiguity
I would like to write a templated function with varidiac tempate parameters. (I do not want a variable number of function parameters). When I try to do it, I get this ambiguity:
Matrix How to declare the constructor with exactly nRow*nCol arguments of type T
I’m a newbie in C++ and just learned how to use template.
I want to write a Matrix class with the following template arguments:
C++ variadic template: works with GCC, crashes with clang?
I’m learning variadic templates. The following program: