tmp/tmpwy77ha5x/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### `memory_resource` public member functions <a id="mem.res.public">[[mem.res.public]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
~memory_resource();
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Effects:* Destroys this `memory_resource`.
|
| 8 |
+
|
| 9 |
+
``` cpp
|
| 10 |
+
void* allocate(size_t bytes, size_t alignment = max_align);
|
| 11 |
+
```
|
| 12 |
+
|
| 13 |
+
*Effects:* Equivalent to: `return do_allocate(bytes, alignment);`
|
| 14 |
+
|
| 15 |
+
``` cpp
|
| 16 |
+
void deallocate(void* p, size_t bytes, size_t alignment = max_align);
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
*Effects:* Equivalent to: `do_deallocate(p, bytes, alignment);`
|
| 20 |
+
|
| 21 |
+
``` cpp
|
| 22 |
+
bool is_equal(const memory_resource& other) const noexcept;
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
*Effects:* Equivalent to: `return do_is_equal(other);`
|
| 26 |
+
|