Share via


allocator_base::_Chardealloc

Frees storage for the array containing elements of type char.

void _Chardealloc(void* _Ptr, size_type _Count);

Parameters

Parameter

Description

_Ptr

A pointer to the first object to be deallocated from storage.

_Count

The number of objects to be deallocated from storage.

Remarks

This member function is used by containers when compiled with a compiler that cannot compile rebind. It implements _Chardealloc for the user-defined allocator by calling the deallocate function of the synchronization filter. The pointer _Ptr must have been earlier returned by a call to _Charalloc for an allocator object that compares equal to *this, allocating an array object of the same size and type. _Chardealloc never throws an exception.

Requirements

Header: <allocators>

Namespace: stdext

See Also

Reference

allocator_base Class