| description | Learn more about: allocator_fixed_size Class | |||
|---|---|---|---|---|
| title | allocator_fixed_size Class | |||
| ms.date | 11/04/2016 | |||
| f1_keywords |
|
|||
| helpviewer_keywords |
|
|||
| ms.assetid | 138f3ef8-b0b3-49c3-9486-58f2213c172f |
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;Type
The type of elements allocated by the allocator.
The ALLOCATOR_DECL 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>
Namespace: stdext