[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Typos in class-layout algorithm
- To: cxx-abi@xxxxxxxxxxxxxxxxxxxx
- Subject: Typos in class-layout algorithm
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: Sat, 18 Mar 2000 19:42:34 -0800
The "Non-Virtual-Base Allocation" section in the data layout document
still contains a couple of typos:
Finally allocate any direct or indirect virtual base classes (except
the primary base class or any indirect primary base classes) as we did
non-virtual base classes in step II-1, in inheritance graph
order. Update sizeof(C) to max (sizeof(C), offset(D)+nvsize(D)). If
non-empty, also update align(C) and dsize(C) as in II-1.
II-1 is now about bitfields. Why not just say that you should use
II-2 if the virtual base is non-empty, and II-3 if it is empty?
The primary base class has already been allocated in I-3a.
That's now I-2b.
--
Mark Mitchell mark@xxxxxxxxxxxxxxxx
CodeSourcery, LLC http://www.codesourcery.com
|