tmp/tmprogx7po9/{from.md → to.md}
RENAMED
|
@@ -4,11 +4,11 @@ Clauses [[language.support]] through [[thread]] and Annex [[depr]]
|
|
| 4 |
describe the behavior of numerous functions defined by the C++standard
|
| 5 |
library. Under some circumstances, however, certain of these function
|
| 6 |
descriptions also apply to replacement functions defined in the
|
| 7 |
program ([[definitions]]).
|
| 8 |
|
| 9 |
-
A C++program may provide the definition for any of
|
| 10 |
allocation function signatures declared in header `<new>` (
|
| 11 |
[[basic.stc.dynamic]], [[support.dynamic]]):
|
| 12 |
|
| 13 |
- `operator new(std::size_t)`
|
| 14 |
- `operator new(std::size_t, const std::nothrow_t&)`
|
|
@@ -16,10 +16,14 @@ allocation function signatures declared in header `<new>` (
|
|
| 16 |
- `operator new[](std::size_t, const std::nothrow_t&)`
|
| 17 |
- `operator delete(void*)`
|
| 18 |
- `operator delete(void*, const std::nothrow_t&)`
|
| 19 |
- `operator delete[](void*)`
|
| 20 |
- `operator delete[](void*, const std::nothrow_t&)`
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
The program’s definitions are used instead of the default versions
|
| 23 |
supplied by the implementation ([[support.dynamic]]). Such replacement
|
| 24 |
occurs prior to program startup ([[basic.def.odr]], [[basic.start]]).
|
| 25 |
The program’s definitions shall not be specified as `inline`. No
|
|
|
|
| 4 |
describe the behavior of numerous functions defined by the C++standard
|
| 5 |
library. Under some circumstances, however, certain of these function
|
| 6 |
descriptions also apply to replacement functions defined in the
|
| 7 |
program ([[definitions]]).
|
| 8 |
|
| 9 |
+
A C++program may provide the definition for any of twelve dynamic memory
|
| 10 |
allocation function signatures declared in header `<new>` (
|
| 11 |
[[basic.stc.dynamic]], [[support.dynamic]]):
|
| 12 |
|
| 13 |
- `operator new(std::size_t)`
|
| 14 |
- `operator new(std::size_t, const std::nothrow_t&)`
|
|
|
|
| 16 |
- `operator new[](std::size_t, const std::nothrow_t&)`
|
| 17 |
- `operator delete(void*)`
|
| 18 |
- `operator delete(void*, const std::nothrow_t&)`
|
| 19 |
- `operator delete[](void*)`
|
| 20 |
- `operator delete[](void*, const std::nothrow_t&)`
|
| 21 |
+
- `operator delete(void*, std::size_t)`
|
| 22 |
+
- `operator delete(void*, std::size_t, const std::nothrow_t&)`
|
| 23 |
+
- `operator delete[](void*, std::size_t)`
|
| 24 |
+
- `operator delete[](void*, std::size_t, const std::nothrow_t&)`
|
| 25 |
|
| 26 |
The program’s definitions are used instead of the default versions
|
| 27 |
supplied by the implementation ([[support.dynamic]]). Such replacement
|
| 28 |
occurs prior to program startup ([[basic.def.odr]], [[basic.start]]).
|
| 29 |
The program’s definitions shall not be specified as `inline`. No
|