共用方式為


編譯器錯誤 C2637

'identifier' : 無法修改資料成員的指標

數據成員的指標不能有呼叫慣例。 若要解決,請移除呼叫慣例或宣告成員函式的指標。

下列範例會產生 C2637:

// C2637.cpp
// compile with: /c
struct S {};
int __stdcall S::*pms1;   // C2637

// OK
int S::*pms2;
int (__stdcall S::*pms3)(...);