tmp/tmpf5xcaa5y/{from.md → to.md}
RENAMED
|
@@ -5,11 +5,13 @@ Object types have *alignment requirements*
|
|
| 5 |
the addresses at which an object of that type may be allocated. An
|
| 6 |
*alignment* is an *implementation-defined* integer value representing
|
| 7 |
the number of bytes between successive addresses at which a given object
|
| 8 |
can be allocated. An object type imposes an alignment requirement on
|
| 9 |
every object of that type; stricter alignment can be requested using the
|
| 10 |
-
alignment specifier [[dcl.align]].
|
|
|
|
|
|
|
| 11 |
|
| 12 |
A *fundamental alignment* is represented by an alignment less than or
|
| 13 |
equal to the greatest alignment supported by the implementation in all
|
| 14 |
contexts, which is equal to `alignof(std::max_align_t)`
|
| 15 |
[[support.types]]. The alignment required for a type may be different
|
|
|
|
| 5 |
the addresses at which an object of that type may be allocated. An
|
| 6 |
*alignment* is an *implementation-defined* integer value representing
|
| 7 |
the number of bytes between successive addresses at which a given object
|
| 8 |
can be allocated. An object type imposes an alignment requirement on
|
| 9 |
every object of that type; stricter alignment can be requested using the
|
| 10 |
+
alignment specifier [[dcl.align]]. Attempting to create an object
|
| 11 |
+
[[intro.object]] in storage that does not meet the alignment
|
| 12 |
+
requirements of the object’s type is undefined behavior.
|
| 13 |
|
| 14 |
A *fundamental alignment* is represented by an alignment less than or
|
| 15 |
equal to the greatest alignment supported by the implementation in all
|
| 16 |
contexts, which is equal to `alignof(std::max_align_t)`
|
| 17 |
[[support.types]]. The alignment required for a type may be different
|