2 ms·
In C++, the way around this is to use inheritance rather than members, since base and derived classes may obviously have the same address.
by mgaunard 4y ago
In C++, the way around this is to use inheritance rather than members, since base and derived classes may obviously have the same address.