tmp/tmpcexgl69s/{from.md → to.md}
RENAMED
|
@@ -16,12 +16,12 @@ namespace std {
|
|
| 16 |
constexpr allocator(const allocator&) noexcept;
|
| 17 |
template<class U> constexpr allocator(const allocator<U>&) noexcept;
|
| 18 |
constexpr ~allocator();
|
| 19 |
constexpr allocator& operator=(const allocator&) = default;
|
| 20 |
|
| 21 |
-
|
| 22 |
-
|
| 23 |
constexpr void deallocate(T* p, size_t n);
|
| 24 |
};
|
| 25 |
}
|
| 26 |
```
|
| 27 |
|
|
|
|
| 16 |
constexpr allocator(const allocator&) noexcept;
|
| 17 |
template<class U> constexpr allocator(const allocator<U>&) noexcept;
|
| 18 |
constexpr ~allocator();
|
| 19 |
constexpr allocator& operator=(const allocator&) = default;
|
| 20 |
|
| 21 |
+
constexpr T* allocate(size_t n);
|
| 22 |
+
constexpr allocation_result<T*> allocate_at_least(size_t n);
|
| 23 |
constexpr void deallocate(T* p, size_t n);
|
| 24 |
};
|
| 25 |
}
|
| 26 |
```
|
| 27 |
|