Megosztás:


C26493 figyelmeztetés

Ne használjon C stílusú öntötteket.

Lásd még

C++ alapvető irányelvek type.4.

példa

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
}