#include <scope.h>
Definition at line 22 of file scope.h.
template<class Callable >
ScopeGuard::ScopeGuard |
( |
Callable && |
at_exit | ) |
|
|
inline |
Definition at line 25 of file scope.h.
25 :
at_exit_(std::forward<Callable>(at_exit)) {}
std::function< void()> at_exit_
Definition at line 31 of file scope.h.
std::function< void()> at_exit_
ScopeGuard::~ScopeGuard |
( |
| ) |
|
|
inline |
Definition at line 35 of file scope.h.
References at_exit_.
std::function< void()> at_exit_
std::function<void()> ScopeGuard::at_exit_ |
|
private |
The documentation for this class was generated from the following file:
- /home/jenkins-slave/workspace/core-os-doxygen/Shared/scope.h