Nota
O acesso a esta página requer autorização. Podes tentar iniciar sessão ou mudar de diretório.
O acesso a esta página requer autorização. Podes tentar mudar de diretório.
Não use
reinterpret_cast. Um molde devoid*pode usarstatic_cast(tipo.1)
Observações
Nome da análise de código: NO_REINTERPRET_CAST_FROM_VOID_PTR
Exemplo
void function(void* pValue)
{
{
int* pointerToInt = reinterpret_cast<int*>(pValue); // C26471, use static_cast instead
}
{
int* pointerToInt = static_cast<int*>(pValue); // Good
}
}