नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'type' : 'identifier' is not a valid template type argument for parameter 'param'
Remarks
The argument list is missing a type needed to instantiate the template or generic. Check the template or generic declaration.
Examples
The following example generates C2923:
// C2923.cpp
template <class T> struct TC {};
int x;
int main() {
TC<x>* tc2; // C2923
TC<int>* tc2; // OK
}
C2923 can also occur when using generics:
// C2923b.cpp
// compile with: /clr /c
generic <class T> ref struct GC {};
int x;
int main() {
GC<x>^ gc2; // C2923
GC<int>^ gc2; // OK
}