| title | allocator_newdel Class | |||
|---|---|---|---|---|
| ms.date | 11/04/2016 | |||
| f1_keywords |
|
|||
| helpviewer_keywords |
|
|||
| ms.assetid | 62666cd2-3afe-49f7-9dd1-9bbbb154da98 |
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;Type
The type of elements allocated by the allocator.
The ALLOCATOR_DECL 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