共用方式為


編譯器錯誤 C2904

'identifier' : 目前的範圍中已經有樣板使用了此名稱

請檢查程式碼是否有重複的名稱。

下列範例會產生 C2904:

// C2904.cpp
// compile with: /c
void X();  // X is declared as a function
template<class T> class X{};  // C2904