Y
Hacker News
new
|
ask
|
show
|
jobs
by
mgaunard
1414 days 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.