Invalid derived-to-base conversion for pointers to members

suggest change

When static_cast is used to convert T D::* to T B::*, the member pointed to must belong to a class that is a base class or derived class of B. Otherwise the behavior is undefined. See Derived to base conversion for pointers to members

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents