What is void*?

Jul 19, 2017 at 8:40pm
What is a void*? What are its uses(I saw something regarding interfaces)?
Jul 19, 2017 at 8:56pm
It is a pointer to who-knows-what. It has the nice property that a pointer to anything can be implicitly cast to a void*.

In C++ there aren't many uses for it. It's more common in C.
Jul 20, 2017 at 2:25am
you see it in threading still, where the args to the thread function are bundled into a void*.

Topic archived. No new replies allowed.