19 explicit scope_exit(F&& f) noexcept : m_f{std::forward<F>(f)} {}
31 : m_f{std::move(rhs.m_f)}, m_active{rhs.m_active} {
39 void release() noexcept { m_active =
false; }
void release() noexcept
Makes the scope_exit inactive.
Definition scope_exit.hpp:39
~scope_exit()
Definition scope_exit.hpp:21
scope_exit(const scope_exit &)=delete
scope_exit(F &&f) noexcept
Constructs a scope_exit.
Definition scope_exit.hpp:19
scope_exit & operator=(const scope_exit &)=delete
scope_exit(scope_exit &&rhs) noexcept
Move constructor.
Definition scope_exit.hpp:30
Definition expression_graph.hpp:11