नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'specialization' : an explicit specialization of a template member must be a member of an explicit specialization
Remarks
An explicit specialization was ill formed.
Example
The following example generates C3212:
// C3212.cpp
// compile with: /LD
template <class T>
struct S {
template <class T1>
struct S1;
};
template <class T> // C3212
template <>
struct S<T>::S1<int> {};
/*
// try the following instead
template <>
template <>
struct S<int>::S1<int> {};
*/
/*
// or, the following
template <>
struct S<int> {
template <class T1>
struct S1;
};
template <>
struct S<int>::S1<int> {
};
*/