'identifier' : 無法修改資料成員的指標
備註
數據成員的指標不能有呼叫慣例。 若要解決,請移除呼叫慣例或宣告成員函式的指標。
Example
下列範例會產生 C2637:
// C2637.cpp
// compile with: /c
struct S {};
int __stdcall S::*pms1; // C2637
// OK
int S::*pms2;
int (__stdcall S::*pms3)(...);
'identifier' : 無法修改資料成員的指標
數據成員的指標不能有呼叫慣例。 若要解決,請移除呼叫慣例或宣告成員函式的指標。
下列範例會產生 C2637:
// C2637.cpp
// compile with: /c
struct S {};
int __stdcall S::*pms1; // C2637
// OK
int S::*pms2;
int (__stdcall S::*pms3)(...);