allocator_base::deallocate

Frees a specified number of objects from storage beginning at a specified position.

void deallocate(pointer _Ptr, size_type _Nx);

Parameters

Parameter

Description

_Ptr

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

_Nx

The number of objects to be deallocated from storage.

Remarks

This member function is implemented for the user-defined allocator by calling deallocate(_Ptr) on the synchronization filter Sync if _Nx == 1, otherwise by calling operator delete(_Nx * _Ptr).

Requirements

Header: <allocators>

Namespace: stdext

See Also

Reference

allocator_base Class