10 template <
typename EF>
15 : onExit_(std::forward<EF>(func))
27 std::function<void()> onExit_;
36 template <
typename FunctionT>
44 #define NUI_ON_SCOPE_EXIT auto NUI_UNIQUE_IDENTIFIER = ::Nui::Detail::MakeScopeExitImpl{}->*[&]
Definition: scope_exit.hpp:12
void disarm()
Definition: scope_exit.hpp:21
~ScopeExit()
Definition: scope_exit.hpp:17
ScopeExit(EF &&func)
Definition: scope_exit.hpp:14
Definition: file_dialog.hpp:6
ScopeExit(T) -> ScopeExit< T >
Definition: scope_exit.hpp:35
auto operator->*(FunctionT &&fn) const
Definition: scope_exit.hpp:37