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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru