I'm trying to make some callbacks from member functions and everything was ok until I tried to use a template class derived from 2 classes as callback object when I got the following error:
error C2440: 'reinterpret_cast' : Pointers to members have different representations; cannot cast between them
This thing signaled me that member function pointers have different representations(doh!)
What are these representations? What is the difference between them?
See Question&Answers more detail:os