Open
Description
void test() {
int *a;
if (a == (int*) 0)
return;
}
converts to
void test() {
_Ptr<int> a = ((void *)0);
if (a == (int*) 0)
return;
}
The cast (int*)
is not converted to (_Ptr<int>)
, but this is required before the function can be _Checked
. This creates a bit more manual work when converting code with 3C.