Kompilatorfel C3207

"function" : ogiltigt mallargument för "arg", klassmall förväntas

Anmärkningar

En funktionsmall definieras som en mall med ett mallargument. Ett malltypargument skickades dock.

Example

I följande exempel genereras C3207:

// C3207.cpp
template <template <class T> class TT>
void f(){}

template <class T>
struct S
{
};

void f1()
{
   f<S<int> >();   // C3207
   // try the following line instead
   // f<S>();
}