15 : fn_(std::move(
other.fn_)), active_(
other.active_) {
38#define PULP_CONCAT_IMPL(a, b) a##b
39#define PULP_CONCAT(a, b) PULP_CONCAT_IMPL(a, b)
40#define PULP_ON_SCOPE_EXIT(code) \
41 auto PULP_CONCAT(_scope_guard_, __LINE__) = \
42 ::pulp::runtime::make_scope_guard([&]() { code; })
Definition scope_guard.hpp:9
ScopeGuard & operator=(ScopeGuard &&)=delete
ScopeGuard(F &&fn)
Definition scope_guard.hpp:11
~ScopeGuard()
Definition scope_guard.hpp:12
ScopeGuard & operator=(const ScopeGuard &)=delete
ScopeGuard(const ScopeGuard &)=delete
ScopeGuard(ScopeGuard &&other) noexcept
Definition scope_guard.hpp:14
void dismiss()
Definition scope_guard.hpp:23
Definition generated_event_source.hpp:33
ScopeGuard< F > make_scope_guard(F &&fn)
Definition scope_guard.hpp:31
@ other
Definition udev_monitor.hpp:26