tmp/tmpwg7eqavj/{from.md → to.md}
RENAMED
|
@@ -131,11 +131,11 @@ Clauses [[language.support]] through [[thread]] and Annex [[depr]]
|
|
| 131 |
describe the behavior of numerous functions defined by the C++standard
|
| 132 |
library. Under some circumstances, however, certain of these function
|
| 133 |
descriptions also apply to replacement functions defined in the
|
| 134 |
program ([[definitions]]).
|
| 135 |
|
| 136 |
-
A C++program may provide the definition for any of
|
| 137 |
allocation function signatures declared in header `<new>` (
|
| 138 |
[[basic.stc.dynamic]], [[support.dynamic]]):
|
| 139 |
|
| 140 |
- `operator new(std::size_t)`
|
| 141 |
- `operator new(std::size_t, const std::nothrow_t&)`
|
|
@@ -143,10 +143,14 @@ allocation function signatures declared in header `<new>` (
|
|
| 143 |
- `operator new[](std::size_t, const std::nothrow_t&)`
|
| 144 |
- `operator delete(void*)`
|
| 145 |
- `operator delete(void*, const std::nothrow_t&)`
|
| 146 |
- `operator delete[](void*)`
|
| 147 |
- `operator delete[](void*, const std::nothrow_t&)`
|
|
|
|
|
|
|
|
|
|
|
|
|
| 148 |
|
| 149 |
The program’s definitions are used instead of the default versions
|
| 150 |
supplied by the implementation ([[support.dynamic]]). Such replacement
|
| 151 |
occurs prior to program startup ([[basic.def.odr]], [[basic.start]]).
|
| 152 |
The program’s definitions shall not be specified as `inline`. No
|
|
|
|
| 131 |
describe the behavior of numerous functions defined by the C++standard
|
| 132 |
library. Under some circumstances, however, certain of these function
|
| 133 |
descriptions also apply to replacement functions defined in the
|
| 134 |
program ([[definitions]]).
|
| 135 |
|
| 136 |
+
A C++program may provide the definition for any of twelve dynamic memory
|
| 137 |
allocation function signatures declared in header `<new>` (
|
| 138 |
[[basic.stc.dynamic]], [[support.dynamic]]):
|
| 139 |
|
| 140 |
- `operator new(std::size_t)`
|
| 141 |
- `operator new(std::size_t, const std::nothrow_t&)`
|
|
|
|
| 143 |
- `operator new[](std::size_t, const std::nothrow_t&)`
|
| 144 |
- `operator delete(void*)`
|
| 145 |
- `operator delete(void*, const std::nothrow_t&)`
|
| 146 |
- `operator delete[](void*)`
|
| 147 |
- `operator delete[](void*, const std::nothrow_t&)`
|
| 148 |
+
- `operator delete(void*, std::size_t)`
|
| 149 |
+
- `operator delete(void*, std::size_t, const std::nothrow_t&)`
|
| 150 |
+
- `operator delete[](void*, std::size_t)`
|
| 151 |
+
- `operator delete[](void*, std::size_t, const std::nothrow_t&)`
|
| 152 |
|
| 153 |
The program’s definitions are used instead of the default versions
|
| 154 |
supplied by the implementation ([[support.dynamic]]). Such replacement
|
| 155 |
occurs prior to program startup ([[basic.def.odr]], [[basic.start]]).
|
| 156 |
The program’s definitions shall not be specified as `inline`. No
|