void pointer to class pointer

Jul 27, 2021 at 10:25am
Hi everyone.
Is there a way to convert void pointer to class pointer and use it as a class object ?
Jul 27, 2021 at 10:35am
Yes, you cast it. You probably need reinterpret_cast in this case.
Jul 27, 2021 at 10:42am
Okay, thank you
Topic archived. No new replies allowed.