Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.05 KB

allocator-newdel-class.md

File metadata and controls

37 lines (25 loc) · 1.05 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: allocator_newdel Class
allocator_newdel Class
11/04/2016
allocators/stdext::allocators::allocator_newdel
allocators/stdext::allocator_newdel
stdext::allocators::allocator_newdel
stdext::allocators [C++], allocator_newdel
stdext::allocator_newdel
62666cd2-3afe-49f7-9dd1-9bbbb154da98

allocator_newdel Class

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

Syntax

template <class Type>
class allocator_newdel;

Parameters

Type
The type of elements allocated by the allocator.

Remarks

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);

Requirements

Header: <allocators>

Namespace: stdext

See also

<allocators>