|
TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
|
#include <utility>RAII helper that runs a user-provided cleanup on scope exit.
Definition in file scope_guard.hpp.
Go to the source code of this file.
Classes | |
| class | triqs::utility::scope_guard< F > |
| RAII wrapper that invokes a callable when it goes out of scope, unless dismissed. More... | |
Macros | |
| #define | TRIQS_CONCAT(X1, X2) |
| Concatenate two tokens, expanding them first if they are macros. | |
Functions | |
| template<class F> | |
| scope_guard< F > | triqs::utility::exec_at_scope_exit (F f) |
| Build a scope_guard from a callable. | |
| template<class F> | |
| scope_guard< F > | triqs::utility::make_scope_guard (F f) |
| Build a scope_guard from a callable. | |