You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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_variable_size.
Syntax
template <class Type>
class allocator_variable_size;
Parameters
Parameter
Description
Type
The type of elements allocated by the allocator.
Remarks
The ALLOCATOR_DECL macro passes this class as the name parameter in the following statement: ALLOCATOR_DECL(CACHE_FREELIST(stdext::allocators::max_variable_size), SYNC_DEFAULT, allocator_variable_size);