From Jason Turner

[new.handler]

Diff to HTML by rtfpessoa

tmp/tmpup7raey_/{from.md → to.md} RENAMED
@@ -1,9 +1,9 @@
1
  #### Type `new_handler` <a id="new.handler">[[new.handler]]</a>
2
 
3
  ``` cpp
4
- typedef void (*new_handler)();
5
  ```
6
 
7
  The type of a *handler function* to be called by `operator new()` or
8
  `operator new[]()` ([[new.delete]]) when they cannot satisfy a request
9
  for additional storage.
@@ -11,7 +11,7 @@ for additional storage.
11
  *Required behavior:* A `new_handler` shall perform one of the following:
12
 
13
  - make more storage available for allocation and then return;
14
  - throw an exception of type `bad_alloc` or a class derived from
15
  `bad_alloc`;
16
- - terminate execution of the program without returning to the caller;
17
 
 
1
  #### Type `new_handler` <a id="new.handler">[[new.handler]]</a>
2
 
3
  ``` cpp
4
+ using new_handler = void (*)();
5
  ```
6
 
7
  The type of a *handler function* to be called by `operator new()` or
8
  `operator new[]()` ([[new.delete]]) when they cannot satisfy a request
9
  for additional storage.
 
11
  *Required behavior:* A `new_handler` shall perform one of the following:
12
 
13
  - make more storage available for allocation and then return;
14
  - throw an exception of type `bad_alloc` or a class derived from
15
  `bad_alloc`;
16
+ - terminate execution of the program without returning to the caller.
17