crystal clear()

Sean Kelly sean at invisibleduck.org
Fri Sep 17 15:30:35 PDT 2010


Steven Schveighoffer Wrote:
> 
> But here is a legitimate question, how do we get the interfaces?  There's  
> no indication in the ABI of where the interfaces are.  I know from logic  
> that they must be before the data members.  But logic also says that  
> interfaces defined by the derived types must appear after the data members  
> of the base class.  This is indeed tricky.

I'd guess that the interface vtbls are referenced from the class vtbl, so clearing the vptr should wipe everything.


More information about the Digitalmars-d mailing list