My compiler is the latest VC++ 2013 RC.
void f()
{
int n1 = 0;
int n2 = reinterpret_cast<int>(n1); // error C2440
}
error C2440: 'reinterpret_cast' : cannot convert from 'int' to 'int'
Why can reinterpret_cast not be used in such an obvious case?