G
glen stark
Okay, I know that a function pointer and member function pointer have
different types.
Is it kosher to convert a member function pointer to a regurlar function
pointer (with the same parameters)? I have a measurement class, and I'd
like to be rather general, so store function pointers for get
operations. Can I typecast a member fuction pointer and pass it to the
class?
I know the FAQ disucusses this a bit, but I can't infer the answer from
it.
Thanks,
Glen
different types.
Is it kosher to convert a member function pointer to a regurlar function
pointer (with the same parameters)? I have a measurement class, and I'd
like to be rather general, so store function pointers for get
operations. Can I typecast a member fuction pointer and pass it to the
class?
I know the FAQ disucusses this a bit, but I can't infer the answer from
it.
Thanks,
Glen