sync_shared::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
This member function locks the mutex, calls cache.deallocate(_Ptr, _Count), where cache represents the cache object, and then unlocks the mutex.
Requirements
Header: <allocators>
Namespace: stdext