Re: The dreaded question
caustik wrote:
[color=blue]
> I don't care if its bad C++, I really dont. I need to convert from
> a member function pointer to a "void*" with zero computational
> overhead.[/color]
Why?
Answering why might lead us to a suggestion that's good for your code.
(BTW the answer is: put the member function pointer into a structure, take
the address of the structure, and cast away. Good luck not crashing.)
--
Phlip
caustik wrote:
[color=blue]
> I don't care if its bad C++, I really dont. I need to convert from
> a member function pointer to a "void*" with zero computational
> overhead.[/color]
Why?
Answering why might lead us to a suggestion that's good for your code.
(BTW the answer is: put the member function pointer into a structure, take
the address of the structure, and cast away. Good luck not crashing.)
--
Phlip
Comment