Skip to content

Commit 1ab92d0

Browse files
committed
Add missing field to data layout example and correct the size to include the final member.
Fixes #32.
1 parent 321c8e7 commit 1ab92d0

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

cxx-vtable-ex.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@
792792
</TR>
793793

794794
<TR>
795-
<TD ROWSPAN="9">
795+
<TD ROWSPAN="10">
796796
<PRE>s<TT>truct X {
797797
&nbsp; int ix;
798798
&nbsp; virtual void x();
@@ -803,7 +803,7 @@
803803
<BR><TT>&nbsp; int ie;</TT>&nbsp;
804804
<BR><TT>};</TT></TD>
805805

806-
<TD ROWSPAN="9">64</TD>
806+
<TD ROWSPAN="10">72</TD>
807807

808808
<TD>0</TD>
809809

@@ -841,11 +841,17 @@
841841
</TR>
842842

843843
<TR>
844-
<TD>48</TD>
844+
<TD>44</TD>
845845

846846
<TD>id</TD>
847847
</TR>
848848

849+
<TR>
850+
<TD>48</TD>
851+
852+
<TD>ie</TD>
853+
</TR>
854+
849855
<TR>
850856
<TD>56</TD>
851857

0 commit comments

Comments
 (0)