allocator_newdel Class

实现使用 operator delete 释放内存块,并分配的内存块 operator new 的赋值程序。

template <class Type>
    class allocator_newdel;

参数

Parameter

说明

Type

分配器分配的元素类型。

备注

ALLOCATOR_DECL (<allocators>) 宏通过此选件类为以下语句的 name 参数: ALLOCATOR_DECL(CACHE_FREELIST stdext::allocators::max_none), SYNC_DEFAULT, allocator_newdel);

要求

标头: <allocators>

命名空间: stdext

请参见

参考

<allocators>