22 #include <type_traits>
28 template <
typename Function>
75 template <
typename Function>
82 #define defer const auto TTK_CAT(ext_exitBlock_, __LINE__) = TTK::ScopeGuardOnExit() + [&]()
The class of the ttk defer module.
_ScopeGuard(Function &&f)
_ScopeGuard< Function > operator+(TTK::ScopeGuardOnExit, Function &&fn)
_ScopeGuard(_ScopeGuard &&rhs)
The namespace of the process utils.
#define TTK_DISABLE_INIT_COPY(Class)