|
Broom 1.0.0
A thread-local C++ Garbage Collector
|
#include <broom.h>
Public Member Functions | |
| BroomDisableGcScope () | |
| ~BroomDisableGcScope () | |
| BroomDisableGcScope (const BroomDisableGcScope &other)=delete | |
| BroomDisableGcScope (BroomDisableGcScope &&other)=delete | |
| BroomDisableGcScope & | operator= (const BroomDisableGcScope &other)=delete |
| BroomDisableGcScope & | operator= (BroomDisableGcScope &&other) noexcept=delete |
A RAII wrapper to turn the Broom garbage collector off in a given scope. Broom will never trigger a garbage collection pass automatically as long as this object exists. broom::force_collection() and broom::force_slow_collection() may still be used to trigger a garbage collection pass.
|
inline |
The constructor turns off garbage collection in a given scope. This ensures that Broom will never attempt to run a garbage collection pass automatically in this scope, unless a call to broom::force_collection() or broom::force_slow_collection() is made.
|
inline |
|
delete |
|
delete |
|
deletenoexcept |
|
delete |