编译器错误 C3205
缺少模板形参“parameter”的实参列表
缺少 模板 参数。
示例
下面的示例生成 C3205:
// C3205.cpp
template<template<class> class T> struct A {
typedef T unparameterized_type; // C3205
// try the following line instead
// typedef T<int> unparameterized_type;
};
template <class T>
struct B {
typedef int value_type;
};
int main() {
A<B> x;
}
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈