Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
The class template类模板{ref_polymorphic_allocator}wraps a包装了{ref_memory_resource}pointer and meets the requirements of {req_Allocator}, allowing it to be used where an allocator is expected. The standard provides type aliases using the polymorphic allocator for standard containers:指针,并满足{req_Allocator}要求,使其可在需要分配器的地方使用。标准库为使用多态分配器的标准容器提供了类型别名: