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
}
このブラウザーはサポートされなくなりました。
Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。
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
}