已不再支援此瀏覽器。
請升級至 Microsoft Edge,以利用最新功能、安全性更新和技術支援。
'destructor' : 介面不能有解構函式
Visual C++ 介面 不能有解構函式。
下列範例會產生 C2849:
// C2849.cpp // compile with: /c __interface C { ~C(); // C2849 destructor not allowed in an interface };
此頁面對您有幫助嗎?