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
{
};
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre