Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
allocator_newdel Class

allocator_newdel Class

Implements an allocator that uses operator delete to deallocate a memory block and operator new to allocate a memory block.

template <class Type>
    class allocator_newdel;

Parameter

Description

Type

The type of elements allocated by the allocator.

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

Header: <allocators>

Namespace: stdext

Show:
© 2015 Microsoft