C++ template constructor
There is no way to explicitly specify the template arguments when calling a constructor template, so they have to be deduced through argument deduction. This is because if you say: The <int> is the template argument list for the type Foo, not for its constructor. There’s nowhere for the constructor template’s argument list to go. … Read more