Quote Originally Posted by JohnW@Wessex View Post
Code:
double f( void * z )
{
   CMultilatera * pMultilatera = static_cast< CMultilatera * >( z );

   pMultilatera->memberFxn();
}
If it's necessary to do this in a C++ application then I would say that you're design is seriously flawed!

Why can't you do this?

Code:
double f( CMultilatera &z)
{
   z.memberFxn();
}
You would do the above so you can pass f to a C API for example as a thread function (although they don't normally return double).