다음을 통해 공유


allocator_fixed_size 클래스

Describes an object that manages storage allocation and freeing for objects of type Type using a cache of type cache_freelist with a length managed by max_fixed_size.

template <class Type>
    class allocator_fixed_size;

매개 변수

Parameter

설명

Type

The type of elements allocated by the allocator.

설명

The ALLOCATOR_DECL(<allocators>) macro passes this class as the name parameter in the following statement: ALLOCATOR_DECL(CACHE_FREELIST(stdext::allocators::max_fixed_size<10>), SYNC_DEFAULT, allocator_fixed_size);

요구 사항

Header: <allocators>

네임스페이스: stdext

참고 항목

참조

<allocators>