Udostępnij za pośrednictwem


allocator_base Class

Defines the base class and common functions needed to create a user-defined allocator from a synchronization filter.

template <class Type, class Sync> class allocator_base

Parameters

Parameter

Description

Type

The type of elements allocated by the allocator.

Sync

The synchronization policy for the allocator, which is sync_none Class, sync_per_container Class, sync_per_thread Class, or sync_shared Class.

Requirements

Header: <allocators>

Namespace: stdext

See Also

Other Resources

allocator_base Members

<allocators> Members