नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'member' : a friend function may not be defined inside a class using a qualified name (it may only be declared)
Remarks
A friend function was defined using a qualified name, which is not allowed.
Example
The following example generates C3060:
// C3060.cpp
class A {
public:
void func();
};
class C {
public:
friend void A::func() { } // C3060
// Try the following line and the out of class definition:
// friend void A::func();
};
// void A::func(){}