Is it possible to pass a class as a parameter to a function in c++?
<p>I have a function with void * as one of its parameters (the void is used as a generic object). But to be able to call a function in that generic object, I need to cast it first, and for that I need to know what type the class is. And I wanted to know, is it possible to pass a class or some information that allows me to cast the object as a function parameter?</p>
