|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
RAII guard to toggle the "ready" flag while performing unsafe operations. More...
#include <MemoryManager.h>
Public Member Functions | |
| ReadyGuard (bool &f) | |
| ~ReadyGuard () | |
Public Attributes | |
| bool & | flag |
RAII guard to toggle the "ready" flag while performing unsafe operations.
Sets the flag to false on construction, restores it to true on destruction.
Definition at line 55 of file MemoryManager.h.
|
inline |
Definition at line 57 of file MemoryManager.h.
|
inline |
Definition at line 58 of file MemoryManager.h.
| bool& ReadyGuard::flag |
Definition at line 56 of file MemoryManager.h.