Clio develop
The XRP Ledger API server.
|
Run a function when the scope is exited. More...
#include <ScopeGuard.hpp>
Public Member Functions | |
ScopeGuard (ScopeGuard const &)=delete | |
ScopeGuard (ScopeGuard &&)=delete | |
ScopeGuard & | operator= (ScopeGuard const &)=delete |
ScopeGuard & | operator= (ScopeGuard &&)=delete |
ScopeGuard (Func func) | |
Create ScopeGuard object. | |
Run a function when the scope is exited.
|
inline |
Create ScopeGuard object.
func | The function to run when the scope is exited. |