Skip to content

Commit 8fb36df

Browse files
author
Colin Robertson
committed
Fix weird list numbering.
1 parent 84ad5f2 commit 8fb36df

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/cpp/alignment-cpp-declarations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ struct x_
5151
} bar[3];
5252
```
5353

54-
1. Both declarations return `sizeof(struct x_)` as 12 bytes.
54+
Both declarations return `sizeof(struct x_)` as 12 bytes.
5555

56-
1. The second declaration includes two padding elements:
56+
The second declaration includes two padding elements:
5757

58-
1. `char _pad0[3]` to align the `int b` member on a 4-byte boundary
58+
1. `char _pad0[3]` to align the `int b` member on a 4-byte boundary.
5959

60-
1. `char _pad1[1]` to align the array elements of the structure `struct _x bar[3];`
60+
1. `char _pad1[1]` to align the array elements of the structure `struct _x bar[3];` on a four-byte boundary.
6161

62-
1. The padding aligns the elements of `bar[3]` in a way that allows natural access.
62+
The padding aligns the elements of `bar[3]` in a way that allows natural access.
6363

6464
The following code example shows the `bar[3]` array layout:
6565

0 commit comments

Comments
 (0)