使用 extern 分配器,释放对象。
void deallocate(pointer ptr, size_type count);
参数
ptr
要解除分配对象的起始位置的指针。count
释放对象的数量。
要求
页眉: <scoped_allocator>
命名空间: std
使用 extern 分配器,释放对象。
void deallocate(pointer ptr, size_type count);
ptr
要解除分配对象的起始位置的指针。
count
释放对象的数量。
页眉: <scoped_allocator>
命名空间: std