नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
explicit instantiation of a generic is not allowed
Remarks
The compiler does not allow explicit instantiation of generic classes.
Example
The following example generates C3236:
// C3236.cpp
// compile with: /clr
generic<class T>
public ref class X {};
generic ref class X<int>; // C3236
The following example demonstrates a possible resolution:
// C3236b.cpp
// compile with: /clr /c
generic<class T>
public ref class X {};