Compiler Error C3201
the template parameter list for class template 'template' does not match the template parameter list for template parameter 'template'
You passed a class template in the argument to a class template that does not take a template parameter, or you passed a mismatched number of template arguments for the default template argument.
// C3201.cpp
template<typename T1, typename T2>
class X1
{
};
template<template<typename T> class U = X1> // C3201
class X2
{
};
template<template<typename T, typename V> class U = X1> // OK
class X3
{
};
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