नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
the using-declaration for 'declaration 1' cannot co-exist with the existing using-declaration for 'declaration 2'
Remarks
Once you have a using declaration for a data member, any using declaration in the same scope that uses the same name is not permitted, as only functions can be overloaded.
Example
The following example generates C2698:
// C2698.cpp
struct A {
int x;
};
struct B {
int x;
};
struct C : A, B {
using A::x;
using B::x; // C2698
}