My Project
|
Public Member Functions | |
constexpr | ScopeGuard (Function &&function) noexcept |
ScopeGuard's constructor. More... | |
ScopeGuard (ScopeGuard &&other) noexcept | |
ScopeGuard's move constructor. More... | |
|
inlineexplicitnoexcept |
ScopeGuard's constructor.
[in] | function | is a rvalue reference to function executed on scope exit |
|
inlinenoexcept |
ScopeGuard's move constructor.
[in] | other | is a rvalue reference to ScopeGuard used as source of move |