“delegate”:委托不能有显式调用约定
不能为 delegate
指定调用约定。
示例
以下示例生成 C3737:
// C3737a.cpp
// compile with: /clr
delegate void __stdcall MyFunc(); // C3737
// Try the following line instead.
// delegate void MyFunc();
int main() {
}
“delegate”:委托不能有显式调用约定
不能为 delegate
指定调用约定。
以下示例生成 C3737:
// C3737a.cpp
// compile with: /clr
delegate void __stdcall MyFunc(); // C3737
// Try the following line instead.
// delegate void MyFunc();
int main() {
}