|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
RAII wrapper that sets a bool to true on construction and false on destruction. More...
#include <src/utils/raii_utils.h>
Public Member Functions | |
| ScopedBool (bool &flag) | |
| ScopedBool (const ScopedBool &)=delete | |
| ScopedBool & | operator= (const ScopedBool &)=delete |
| ScopedBool (ScopedBool &&)=delete | |
| ScopedBool & | operator= (ScopedBool &&)=delete |
RAII wrapper that sets a bool to true on construction and false on destruction.
Definition at line 12 of file raii_utils.h.
|
inlineexplicit |
Definition at line 15 of file raii_utils.h.
|
inline |
Definition at line 20 of file raii_utils.h.