Vtable index type

Mark Mitchell mark at codesourcery.com
Mon Feb 21 22:15:29 UTC 2000


We should specify a type for vtable indices.  It seems to me that
`ptrdiff_t' is the obvious candidate.

This is important in that it limits the number of vtable entries we
can use.  (For example, g++ has historically used `short' for a vtable
index; that limited the size of vtables.)

--
Mark Mitchell                   mark at codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com




More information about the cxx-abi-dev mailing list