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