tmp/tmp5fyu8fw0/{from.md → to.md}
RENAMED
|
@@ -13,11 +13,11 @@ namespace std::pmr {
|
|
| 13 |
memory_resource(const memory_resource&) = default;
|
| 14 |
virtual ~memory_resource();
|
| 15 |
|
| 16 |
memory_resource& operator=(const memory_resource&) = default;
|
| 17 |
|
| 18 |
-
|
| 19 |
void deallocate(void* p, size_t bytes, size_t alignment = max_align);
|
| 20 |
|
| 21 |
bool is_equal(const memory_resource& other) const noexcept;
|
| 22 |
|
| 23 |
private:
|
|
|
|
| 13 |
memory_resource(const memory_resource&) = default;
|
| 14 |
virtual ~memory_resource();
|
| 15 |
|
| 16 |
memory_resource& operator=(const memory_resource&) = default;
|
| 17 |
|
| 18 |
+
void* allocate(size_t bytes, size_t alignment = max_align);
|
| 19 |
void deallocate(void* p, size_t bytes, size_t alignment = max_align);
|
| 20 |
|
| 21 |
bool is_equal(const memory_resource& other) const noexcept;
|
| 22 |
|
| 23 |
private:
|