allocator_unbounded Class
描述控制存储分配和释放类型 Type 对象的使用一个缓存与 max_unbounded管理长度的类型 cache_freelist 的对象。
template <class Type>
class allocator_unbounded;
参数
Parameter |
说明 |
---|---|
Type |
分配器分配的元素类型。 |
备注
ALLOCATOR_DECL (<allocators>) 宏通过此选件类为以下语句的 name 参数:ALLOCATOR_DECL(CACHE_FREELIST(stdext::allocators::max_unbounded), SYNC_DEFAULT, allocator_unbounded);
要求
标头: <allocators>
命名空间: stdext