共用方式為


編譯器錯誤 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;
}