Compartilhar via


rts_alloc Class

The rts_alloc template class describes a filter that holds an array of cache instances and determines which instance to use for allocation and deallocation at runtime instead of at compile time.

template <class Cache> class rts_alloc

Parameters

Parameter

Description

Cache

The type of cache instances contained in the array. This can be cache_chunklist Class, cache_freelist, or cache_suballoc.

Remarks

This template class holds multiple block allocator instances and determines which instance to use for allocation or deallocation at runtime instead of at compile time. It is used with compilers that cannot compile rebind.

Requirements

Header: <allocators>

Namespace: stdext

See Also

Reference

ALLOCATOR_DECL (<allocators>)

<allocators>

Other Resources

<allocators> Members