Invalid derived-to-base conversion for pointers to members
suggest changeWhen 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
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents