An easy way to ensure that a function is called at the end of the current scope. More...
Inherits Fn.
Public Member Functions | |
~ScopeGuard () | |
An easy way to ensure that a function is called at the end of the current scope.
Usage:
ScopeGuard< Fn >::~ScopeGuard | ( | ) |
References ~ScopeGuard().
Referenced by ~ScopeGuard().