नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'function' : ambiguous delegate function
Remarks
A delegate instantiation could have been to a static member function, or as an unbound delegate to an instance function, so the compiler issued this error.
For more information, see delegate (C++ Component Extensions).
Example
The following example generates C3375.
// C3375.cpp
// compile with: /clr
ref struct R {
static void f(R^) {}
void f() {}
};
delegate void Del(R^);
int main() {
Del ^ a = gcnew Del(&R::f); // C3375
}