The answer, in C++, is that these extra data fields are simply sliced away. They are tossed, eliminated.
Question - does this matter?
Cynical answer - only if somebody notices.
Programming language designers solution - design the language so as to make it difficult for anybody to notice.