allocator_suballoc Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at allocator_suballoc Class.

Describes an object that manages storage allocation and freeing for objects of type Type using a cache of type cache_suballoc.

template <class Type>  
class allocator_suballoc;

Parameters

ParameterDescription
TypeThe 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_SUBALLOC, SYNC_DEFAULT, allocator_suballoc);

Header: <allocators>

Namespace: stdext

<allocators>

Show: