From Jason Turner

[diff.cpp03.language.support]

Diff to HTML by rtfpessoa

tmp/tmp888mmo21/{from.md → to.md} RENAMED
@@ -1,8 +1,8 @@
1
  ### Clause [[language.support]]: language support library <a id="diff.cpp03.language.support">[[diff.cpp03.language.support]]</a>
2
 
3
- [[new.delete.single]] **Change:** Linking `new` and `delete` operators
4
  **Rationale:** The two throwing single-object signatures of
5
  `operator new` and `operator delete` are now specified to form the base
6
  functionality for the other operators. This clarifies that replacing
7
  just these two signatures changes others, even if they are not
8
  explicitly changed. **Effect on original feature:** Valid C++03code that
@@ -28,15 +28,14 @@ void operator delete(void* ptr) throw() {
28
  int main() {
29
  int* i = new int;
30
  delete i; // single-object delete
31
  int* a = new int[3];
32
  delete [] a; // array delete
33
- return 0;
34
  }
35
  ```
36
 
37
  [[new.delete.single]] **Change:** `operator new` may throw exceptions
38
- other than `std::bad_alloc` **Rationale:** Consistent application of
39
  `noexcept`. **Effect on original feature:** Valid C++03code that assumes
40
  that global `operator new` only throws `std::bad_alloc` may execute
41
  differently in this International Standard.
42
 
 
1
  ### Clause [[language.support]]: language support library <a id="diff.cpp03.language.support">[[diff.cpp03.language.support]]</a>
2
 
3
+ [[new.delete.single]] **Change:** Linking `new` and `delete` operators.
4
  **Rationale:** The two throwing single-object signatures of
5
  `operator new` and `operator delete` are now specified to form the base
6
  functionality for the other operators. This clarifies that replacing
7
  just these two signatures changes others, even if they are not
8
  explicitly changed. **Effect on original feature:** Valid C++03code that
 
28
  int main() {
29
  int* i = new int;
30
  delete i; // single-object delete
31
  int* a = new int[3];
32
  delete [] a; // array delete
 
33
  }
34
  ```
35
 
36
  [[new.delete.single]] **Change:** `operator new` may throw exceptions
37
+ other than `std::bad_alloc`. **Rationale:** Consistent application of
38
  `noexcept`. **Effect on original feature:** Valid C++03code that assumes
39
  that global `operator new` only throws `std::bad_alloc` may execute
40
  differently in this International Standard.
41