libyggdrasil
v1.0.0
|
Scope Guard implementation. More...
#include <utils.hpp>
Public Member Functions | |
constexpr | ScopeGuardImpl (F func) |
~ScopeGuardImpl () | |
void | release () |
Releases the scope guard and prevents it from being executed when going out of scope. More... | |
ScopeGuardImpl (ScopeGuardImpl &&other) noexcept | |
ScopeGuardImpl & | operator= (ScopeGuardImpl &&)=delete |
Scope Guard implementation.
|
inlineconstexpr |
|
inline |
|
inlinenoexcept |
|
delete |
|
inline |
Releases the scope guard and prevents it from being executed when going out of scope.