共用方式為


編譯器警告 (層級 1) C4550

運算式評估為遺漏引數清單的函式

函式的取值指標遺漏自變數清單。

範例

// C4550.cpp
// compile with: /W1
bool f()
{
   return true;
}

typedef bool (*pf_t)();

int main()
{
   pf_t pf = f;
   if (*pf) {}  // C4550
   return 0;
}