OpenEnroth 73e68f7
|
#include <ScopeGuard.h>
Public Member Functions | |
ScopeGuard (T &&callable) | |
~ScopeGuard () | |
Private Attributes | |
T | _callable |
Scope guard to be used to roll back operations in an exception-safe way.
Example usage:
|
inlineexplicit |
|
inline |
|
private |