int * pt = 0;
long i = reinterpret_cast
Гарантированно ли мне будет 0? Это четко определено или определено реализацией? I checked the c++ standard, but it only states that
A pointer to a data object or to a function (but not a pointer to member) can be converted to any integer type large enough to contain it.
In this case, pt doesn't point to any data object. Does the rule apply to this case?