警告 C26493
請勿使用 C 樣式轉換。
另請參閱
範例
void function(const int* const_i)
{
int* nonconst_i = (int*)const_i; // C26493 Don't use C-style casts
int i = (int)*const_i; // C26493 Don't use C-style casts
}
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應