Doing static_cast instead, will open the door to fun surprises if one cannot guaranttee the safety of the pointers given to the library code.
I must add that in those days, we were making use of C++ gui libraries like OWL, followed by VCL and MFC.
Doing static_cast instead, will open the door to fun surprises if one cannot guaranttee the safety of the pointers given to the library code.
I must add that in those days, we were making use of C++ gui libraries like OWL, followed by VCL and MFC.