construction vtables broken

Nathan Sidwell nathan at codesourcery.com
Wed Jan 24 11:22:14 UTC 2001


Jason Merrill wrote:

> Yes.  Basically, RTTI information needs to count as a virtual function
> which is overridden in every class.
That does seem a rather convoluted thought!

> But it still needs to say something about having virtual functions (in
> order to have RTTI information).  It might be cleaner just to add the bit
> above about RTTI.
I think `2.6.1 General' makes that clear enough.

Mark Mitchell wrote:
> Are you trying to optimize the case where the vtable has only vbase
> offsets, but no virtual functions, and then not have VTT entries in
> that case?
But such a case would need a VTT entry to place those vbases, wouldn't it?


nathan

-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan at codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan at acm.org




More information about the cxx-abi-dev mailing list