tmp/tmpkwpi3ju9/{from.md → to.md}
RENAMED
|
@@ -3,12 +3,12 @@
|
|
| 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[]()`
|
| 9 |
-
|
| 10 |
|
| 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
|
|
|
|
| 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 for
|
| 9 |
+
additional storage.
|
| 10 |
|
| 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
|