Free storage for n values obtained from allocateOverAligned.
Declared in <folly/Memory.h>
template<
typename Alloc,
size_t kAlign = alignof(typename std::allocator_traits<Alloc>::value_type)>
void
deallocateOverAligned(
Alloc const& alloc,
std::allocator_traits<Alloc>::pointer ptr,
size_t n);
| Name | Description |
|---|---|
| alloc | The allocator to free the storage through. |
| ptr | The pointer returned by allocateOverAligned. |
| n | The number of values the storage was allocated for. |