相关疑难解决方法(0)

为什么std :: allocator在C++ 17中丢失成员类型/函数?

而在寻找的std ::分配器,我看到的成员:
value_type, pointer, const_pointer, reference, const_reference, size_type, difference_type,和 rebind都被废弃了.

分配器也将不再有成员:
address, max_size, construct,或destroy.

为什么会这样?它与多态分配器有关吗?

c++ memory-management stl allocator c++17

21
推荐指数
1
解决办法
1694
查看次数

标签 统计

allocator ×1

c++ ×1

c++17 ×1

memory-management ×1

stl ×1