Subobject constructors

Mark Mitchell mark at codesourcery.com
Fri Jun 30 19:20:10 UTC 2000


The wording in 3.3 about subobject constructors is misleading:

  If the not-in-charge constructor calls constructors for base class
  subobjects that do not need construction vtables, the construction
  vtable parameter is not passed to the base class subobject
  constructor, and the base class subobject constructors use their
  complete object vtables for initialization.

This is also true when an in-charge constructor is making the call.
There is never a need to pass a VTT to a base class subobject that
doesn't have virtual bases.

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




More information about the cxx-abi-dev mailing list