Udostępnij za pośrednictwem


allocator_unbounded Class

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_unbounded.

template <class Type>
    class allocator_unbounded;

Parameters

Parameter

Description

Type

The type of elements allocated by the allocator.

Remarks

The ALLOCATOR_DECL (<allocators>) macro passes this class as the name parameter in the following statement: ALLOCATOR_DECL(CACHE_FREELIST(stdext::allocators::max_unbounded), SYNC_DEFAULT, allocator_unbounded);

Requirements

Header: <allocators>

Namespace: stdext

See Also

Reference

<allocators>

Other Resources

<allocators> Members