Subj : Re: type of void* To : borland.public.cpp.borlandcpp From : maeder@glue.ch (Thomas Maeder [TeamB]) Date : Fri Nov 21 2003 09:36 pm "MarvinAvery" writes: > void MyFunc (void* object); > class MyClass; > > In the function, MyFunc, is there a way of testing if "object" points to an > instance of MyClass? I tried > down_cast(object) > and got a compile time error. I tried typeid but that didn't work either. In > fact, is there any way of finding out what "object" does point to? No. .