|
Sen API
Sen Libraries
|
Runs the function object F on destruction. More...
#include <scope_guard.h>
Public Member Functions | |
| ScopeGuard ()=delete | |
| ~ScopeGuard () noexcept | |
| Will trigger the given callback. | |
Friends | |
| template<class InputF> | |
| auto | makeScopeGuard (InputF &&f) |
Runs the function object F on destruction.
|
delete |
|
inlinenoexcept |
Will trigger the given callback.
|
friend |