नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'identifier' : illegal syntax for using-declaration; expected qualified-name
Remarks
A using declaration requires a qualified name, a scope-operator (::) separated sequence of namespace, class, or enumeration names that ends with the identifier name. A single scope resolution operator may be used to introduce a name from the global namespace.
Example
The following example generates C2868 and also shows correct usage:
// C2868.cpp
class X {
public:
int i;
};
class Y : X {
public:
using X::i; // OK
};
int main() {
using X; // C2868
}