नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'class' : cannot define class in this scope
Remarks
An attempt was made to define a nested class, but the nested class is a member of a base class, not the most containing class.
Example
The following example generates C2427:
// C2427.cpp
// compile with: /c
template <class T>
struct S {
struct Inner;
};
struct Y : S<int> {};
struct Y::Inner {}; // C2427
// OK
template<typename T>
struct S<T>::Inner {};