title: What is the VTable Layout and VTable Pointer Location in C++ Objects in GCC 3.x and 4.x?
body: <p>I am looking for details of the VTable structure, order and contents, and the location of the vtable pointers within objects. </p>
  
  <p>Ideally, this will cover single inheritance, multiple inheritance, and virtual inheritance.</p>
  
  <p>References to external documentation would also be appreciated</p>
  
  <p>Documentation of GCC 4.0x class layout is <a href="http://www.cse.wustl.edu/~mdeters/seminar/fall2005/mi.html#virtual" rel="noreferrer">here</a> and the Itanium, and more broadly GNU, ABI layout documents are <a href="http://www.codesourcery.com/public/cxx-abi/abi.html#general" rel="noreferrer">here</a>. </p>