|
jam 0.0.1
A compacting generational garbage collector for C++26
|
Bind an existing heap, restoring the previous binding on scope exit.The heap must outlive the scope. Scopes nest on one thread and may re-enter a heap. They neither own the heap nor synchronize access to it. More...
Public Member Functions | |
| heap_scope (heap &arena) noexcept | |
| Use the supplied heap for implicit operations on this thread. | |
| ~heap_scope () noexcept | |
| Restore the binding saved at construction. | |
Bind an existing heap, restoring the previous binding on scope exit.
The heap must outlive the scope. Scopes nest on one thread and may re-enter a heap. They neither own the heap nor synchronize access to it.