libstdc++/3150

Jason Merrill jason@redhat.com
Mon Jan 7 11:10:00 GMT 2002


>>>>> "Benjamin" == Benjamin Kosnik <bkoz@redhat.com> writes:

>> writing them explicitly allows the vtable heuristic to work.

> Is there anyway you can expand on this, so when they go back in this can 
> be noted?

It's to do with the old question of where to put the vtable (and type_info
node and such).  A standard heuristic is to put it with the definition of
the first non-inline, non-pure virtual function defined in the class.  The
destructor is an obvious choice for this, since it has to be defined
anyway.

Jason



More information about the Libstdc++ mailing list