다음을 통해 공유


allocator_fixed_size 클래스

max_fixed_size 관리하는 길이가 있는 형식 cache_freelist 캐시를 사용하여 형식 형식의 개체에 대한 스토리지 할당 및 해제를 관리하는 개체에 대해 설명합니다.

구문

template <class Type>
class allocator_fixed_size;

매개 변수

Type
할당자에 의해 할당된 요소 형식입니다.

설명

ALLOCATOR_DECL 매크로는 다음 문에서 이 클래스를 이름 매개 변수로 전달합니다.ALLOCATOR_DECL(CACHE_FREELIST(stdext::allocators::max_fixed_size<10>), SYNC_DEFAULT, allocator_fixed_size);

요구 사항

헤더:<할당자>

네임스페이스: stdext

참고 항목

<allocators>