This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: libstdc++/3150


>>>>> "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


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