open62541pp 0.15.0
C++ wrapper of open62541
|
#include <scope.hpp>
General-purpose scope guard intended to call its exit function when a scope is exited.
Public Member Functions | |
ScopeExit (Fn &&fn) noexcept | |
ScopeExit (ScopeExit &&other) noexcept | |
~ScopeExit () noexcept(std::is_nothrow_invocable_v< Fn >) | |
ScopeExit (const ScopeExit &)=delete | |
ScopeExit & | operator= (const ScopeExit &)=delete |
ScopeExit & | operator= (ScopeExit &&)=delete |
void | release () noexcept |
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
delete |
|
delete |
|
delete |
|
inlinenoexcept |