tmp/tmprcj3vxwk/{from.md → to.md}
RENAMED
|
@@ -1,18 +1,17 @@
|
|
| 1 |
-
###
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
is used instead.
|
| 18 |
|
|
|
|
| 1 |
+
### [[expr]]: expressions <a id="diff.cpp14.expr">[[diff.cpp14.expr]]</a>
|
| 2 |
|
| 3 |
+
**Change:** Remove increment operator with `bool` operand.
|
| 4 |
+
**Rationale:** Obsolete feature with occasionally surprising semantics.
|
| 5 |
+
**Effect on original feature:** A valid C++14 expression utilizing the
|
| 6 |
+
increment operator on a `bool` lvalue is ill-formed in this
|
| 7 |
+
International Standard. Note that this might occur when the lvalue has a
|
| 8 |
+
type given by a template parameter.
|
| 9 |
|
| 10 |
+
**Change:** Dynamic allocation mechanism for over-aligned types.
|
| 11 |
+
**Rationale:** Simplify use of over-aligned types. **Effect on original
|
| 12 |
+
feature:** In C++14 code that uses a *new-expression* to allocate an
|
| 13 |
+
object with an over-aligned class type, where that class has no
|
| 14 |
+
allocation functions of its own, `::operator new(std::size_t)` is used
|
| 15 |
+
to allocate the memory. In this International Standard,
|
| 16 |
+
`::operator new(std::size_t, std::align_val_t)` is used instead.
|
|
|
|
| 17 |
|