Namespaces
Views
std::generator<Ref,V,Allocator>::promise_type::operator delete
From cppreference.com
C++
Utilities library
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Coroutine support
| Coroutine traits | ||||
(C++20) | ||||
| Coroutine handle | ||||
(C++20) | ||||
| No-op coroutines | ||||
(C++20) | ||||
(C++20) | ||||
| Trivial awaitables | ||||
(C++20) | ||||
(C++20) | ||||
| Range generators | ||||
(C++23) | ||||
| Coroutine tasks | ||||
(C++26) |
Ranges library
| ||||||||||||||||||||||
| Range primitives | |||||||
| |||||||
| Range concepts | |||||||||||||||||||
| |||||||||||||||||||
| Range factories | ||||||||||||||
| ||||||||||||||
| Range adaptors | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||
| Helper items | |||||||||||||||||
| |||||||||||||||||
void operator delete( void* ptr, std::size_t n ) noexcept;
|
(since C++23) | |
Deallocates the storage pointed to by ptr using an allocator equivalent to that used to allocate this memory.
The ptr passed to this function must be the one returned from an invocation of one of the operator new overloads with a size argument equal to n. Otherwise the behavior is undefined.
Parameters
| ptr | - | a pointer obtained from the previous call to operator new
|
| n | - | the size of the storage to be deallocated |
