Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
partial and explicit specializations as well as explicit instantiations of class templates declared in the cli namespace are disallowed
Remarks
The cli namespace is defined by Microsoft and contains pseudo-templates. The Microsoft C++ compiler does not allow user-defined, partial and explicit specializations, and explicit instantiations of class templates in this namespace.
Example
The following example generates C3279:
// C3279.cpp
// compile with: /clr
namespace cli {
template <> ref class array<int> {}; // C3279
template <typename T> ref class array<T, 2> {}; // C3279
}