This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is gcc allowed to eliminate writes in a destructor?


Thanks,

if you mean vtable gets altered you mean the pointer is directed to
another vtable?
I assume you are right on this simple example (the members of Derived
are placed after Base, allowing a single vtable pointer ),
but with multiple inheritance you will invariable need multiple vtables.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]