operator_delete overloads
Declared in <folly/lang/New.h>
Frees the storage pointed to by p.
void
operator_delete(void const* p) noexcept;
» more...
Frees the storage pointed to by p using its alignment.
void
operator_delete(
void const* p,
std::align_val_t const a) noexcept;
» more...
Frees the storage pointed to by p using its size.
void
operator_delete(
void const* p,
std::size_t const s) noexcept;
» more...
Frees the storage pointed to by p using its size and alignment.
void
operator_delete(
void const* p,
std::size_t const s,
std::align_val_t const a) noexcept;
» more...
| Name | Description |
|---|---|
| p | A pointer to the storage to free. |
| a | The alignment of the storage being freed. |
| s | The size in bytes of the storage being freed. |