tmp/tmp5yeo8277/{from.md → to.md}
RENAMED
|
@@ -4,11 +4,11 @@ These functions are reserved; a C++ program may not define functions
|
|
| 4 |
that displace the versions in the C++ standard library [[constraints]].
|
| 5 |
The provisions of [[basic.stc.dynamic]] do not apply to these reserved
|
| 6 |
placement forms of `operator new` and `operator delete`.
|
| 7 |
|
| 8 |
``` cpp
|
| 9 |
-
|
| 10 |
```
|
| 11 |
|
| 12 |
*Returns:* `ptr`.
|
| 13 |
|
| 14 |
*Remarks:* Intentionally performs no other action.
|
|
@@ -23,11 +23,11 @@ Something* p = new (place) Something();
|
|
| 23 |
```
|
| 24 |
|
| 25 |
— *end example*]
|
| 26 |
|
| 27 |
``` cpp
|
| 28 |
-
|
| 29 |
```
|
| 30 |
|
| 31 |
*Returns:* `ptr`.
|
| 32 |
|
| 33 |
*Remarks:* Intentionally performs no other action.
|
|
|
|
| 4 |
that displace the versions in the C++ standard library [[constraints]].
|
| 5 |
The provisions of [[basic.stc.dynamic]] do not apply to these reserved
|
| 6 |
placement forms of `operator new` and `operator delete`.
|
| 7 |
|
| 8 |
``` cpp
|
| 9 |
+
constexpr void* operator new(std::size_t size, void* ptr) noexcept;
|
| 10 |
```
|
| 11 |
|
| 12 |
*Returns:* `ptr`.
|
| 13 |
|
| 14 |
*Remarks:* Intentionally performs no other action.
|
|
|
|
| 23 |
```
|
| 24 |
|
| 25 |
— *end example*]
|
| 26 |
|
| 27 |
``` cpp
|
| 28 |
+
constexpr void* operator new[](std::size_t size, void* ptr) noexcept;
|
| 29 |
```
|
| 30 |
|
| 31 |
*Returns:* `ptr`.
|
| 32 |
|
| 33 |
*Remarks:* Intentionally performs no other action.
|