Invalid derived-to-base conversion for pointers to members
suggest changeWhen static_cast is used to convert T D::* to T B::*, the member must belong to B, or to a base or derived class of B. Otherwise the behavior is undefined. The cast is ill-formed unless B is a base of D. See Derived to base conversion for pointers to members
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents