შენიშვნა
ამ გვერდზე წვდომა მოითხოვს ავტორიზაციას. შეგიძლიათ სცადოთ შესვლა ან შეცვალოთ დირექტორიები.
ამ გვერდზე წვდომა მოითხოვს ავტორიზაციას. შეგიძლიათ სცადოთ დირექტორიების შეცვლა.
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 {};