次の方法で共有


allocator_suballoc クラス

cache_suballoc 型のキャッシュを使用して、Type 型のオブジェクトに対し、ストレージの割り当てと解放を管理するオブジェクトを記述します。

構文

template <class Type>
class allocator_suballoc;

パラメーター

Type
アロケーターによって割り当てられた要素の型。

解説

ALLOCATOR_DECL マクロは、このクラスを次のステートメント内の name パラメーターとして渡します: ALLOCATOR_DECL(CACHE_SUBALLOC, SYNC_DEFAULT, allocator_suballoc);

要件

ヘッダー: <allocators>

名前空間: stdext

関連項目

<allocators>