On my platform, both long int and long long int are the same (64 bits). I have a pointer to a long int and I want to convert it to a pointer to a long long int. The following code
static_cast<long long int*>(pointer);
is not allowed. What is the correct way to do that in C++11?
Aucun commentaire:
Enregistrer un commentaire