tmp/tmp2ce65fb3/{from.md → to.md}
RENAMED
|
@@ -1,18 +0,0 @@
|
|
| 1 |
-
### Clause [[special]]: special member functions <a id="diff.cpp03.special">[[diff.cpp03.special]]</a>
|
| 2 |
-
|
| 3 |
-
[[class.ctor]], [[class.dtor]], [[class.copy]] **Change:**
|
| 4 |
-
Implicitly-declared special member functions are defined as deleted when
|
| 5 |
-
the implicit definition would have been ill-formed. **Rationale:**
|
| 6 |
-
Improves template argument deduction failure. **Effect on original
|
| 7 |
-
feature:** A valid C++03program that uses one of these special member
|
| 8 |
-
functions in a context where the definition is not required (e.g., in an
|
| 9 |
-
expression that is not potentially evaluated) becomes ill-formed.
|
| 10 |
-
|
| 11 |
-
[[class.dtor]] (destructors) **Change:** User-declared destructors have
|
| 12 |
-
an implicit exception specification. **Rationale:** Clarification of
|
| 13 |
-
destructor requirements. **Effect on original feature:** Valid C++03code
|
| 14 |
-
may execute differently in this International Standard. In particular,
|
| 15 |
-
destructors that throw exceptions will call `std::terminate` (without
|
| 16 |
-
calling `std::unexpected`) if their exception specification is
|
| 17 |
-
non-throwing.
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|