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.
// C3201.cpp
template<typename T1, typename T2>
class X1
{
};
template<template<typename T> class U = X1> // C3201
class X2
{
};
Change History
Date |
History |
Reason |
---|---|---|
February 2009 |
Deleted a confusing description of how to correct the error that the code example demonstrates. |
Customer feedback. |