Compiler Error C3208
'function' : template parameter list for class template 'class' does not match template parameter list for template template parameter 'parameter'
A template template parameter does not have the same number of template parameters as the provided class template.
The following sample generates C3208:
// C3208.cpp
template <template <class T> class TT >
int f();
template <class T1, class T2>
struct S;
template <class T1>
struct R;
int i = f<S>(); // C3208
// try the following line instead
// int i = f<R>();
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for