tmp/tmp9h93dn7j/{from.md → to.md}
RENAMED
|
@@ -1,23 +0,0 @@
|
|
| 1 |
-
## Deprecated `polymorphic_allocator` member function <a id="depr.mem.poly.allocator.mem">[[depr.mem.poly.allocator.mem]]</a>
|
| 2 |
-
|
| 3 |
-
The following member is declared in addition to those members specified
|
| 4 |
-
in [[mem.poly.allocator.mem]]:
|
| 5 |
-
|
| 6 |
-
``` cpp
|
| 7 |
-
namespace std::pmr {
|
| 8 |
-
template<class Tp = byte>
|
| 9 |
-
class polymorphic_allocator {
|
| 10 |
-
public:
|
| 11 |
-
template <class T>
|
| 12 |
-
void destroy(T* p);
|
| 13 |
-
};
|
| 14 |
-
}
|
| 15 |
-
```
|
| 16 |
-
|
| 17 |
-
``` cpp
|
| 18 |
-
template<class T>
|
| 19 |
-
void destroy(T* p);
|
| 20 |
-
```
|
| 21 |
-
|
| 22 |
-
*Effects:* As if by `p->T̃()`.
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|