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