rts_alloc::deallocate

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

void deallocate(void* _Ptr, std::size_t _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

The member function calls caches[_IDX].deallocate(_Ptr, _Count), where the index _IDX is determined by the requested block size _Count, or, if _Count is too large, it returns operator delete(_Ptr).

Requirements

Header: <allocators>

Namespace: stdext

See Also

Reference

rts_alloc Class