How can I use static_cast with casting types like that:
CString response;
resultData = (void *) (const char *) response;
where result data is type void *&.
I tried to do to this in following way:
resultData = static_cast<(void*)(const char*)>(response);
resultData = static_cast<void*>(static_cast<const char*>(response));
but it doesn't work.
Do you have any ideas?
Aucun commentaire:
Enregistrer un commentaire