共用方式為


allocator_unbounded 類別

描述物件,此物件會使用類型快取cache_freelist類型快取,以及由 max_unbounded 管理的長度來管理類型對象的儲存配置和釋放。

語法

template <class Type>
class allocator_unbounded;

參數

類型
配置器所配置的元素類型。

備註

ALLOCATOR_DECL巨集會將這個類別傳遞為下列語句中的 name 參數:ALLOCATOR_DECL(CACHE_FREELIST(stdext::allocators::max_unbounded), SYNC_DEFAULT, allocator_unbounded);

需求

Header:<allocators>

命名空間: stdext

另請參閱

<allocators>