|
Broom 1.0.0
A thread-local C++ Garbage Collector
|
#include <broom.h>
A helper RAII wrapper that configures Broom to not run destructors for objects which were still alive when the thread exits. The memory will still be free'd, but their destructors won't be invoked. broom::no_destructor_scope is also available as an alias for this class to support a more traditional C++ style.
|
inline |
The constructor simply calls thread_init() with an optional configuration, setting the run_destructors_on_shutdown value of broom_configuration to false.
| config | The configuration to initialize Broom on this thread with. This parameter will be modified with run_destructors_on_shutdown set to false. |
|
inline |
The destructor simply calls thread_teardown().
|
delete |
|
delete |
|
delete |
|
delete |