std::pmr::monotonic_buffer_resource::release
Min standard notice:
Releases all allocated memory by calling the deallocate function on the upstream memory resource as necessary. Resets current buffer and next buffer size to their initial values at construction.
# Declarations
void release();
(since C++17)
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 3120 | C++17 | release might not make initial buffer reusable if provided | required to do so |