Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ReadyGuard Struct Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ReadyGuard()

ReadyGuard::ReadyGuard ( bool &  f)
inline

Definition at line 57 of file MemoryManager.h.

◆ ~ReadyGuard()

ReadyGuard::~ReadyGuard ( )
inline

Definition at line 58 of file MemoryManager.h.

Member Data Documentation

◆ flag

bool& ReadyGuard::flag

Definition at line 56 of file MemoryManager.h.


The documentation for this struct was generated from the following file: