Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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;
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_none), SYNC_DEFAULT, allocator_newdel);
Requirements
Header: <allocators>
Namespace: stdext