Nui
Classes | Namespaces | Macros | Functions
scope_exit.hpp File Reference
#include <nui/utility/unique_identifier.hpp>
#include <functional>
#include <utility>
Include dependency graph for scope_exit.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Nui::ScopeExit< EF >
 
struct  Nui::Detail::MakeScopeExitImpl
 

Namespaces

 Nui
 
 Nui::Detail
 

Macros

#define NUI_ON_SCOPE_EXIT   auto NUI_UNIQUE_IDENTIFIER = ::Nui::Detail::MakeScopeExitImpl{}->*[&]
 

Functions

template<typename T >
 Nui::ScopeExit (T) -> ScopeExit< T >
 

Macro Definition Documentation

◆ NUI_ON_SCOPE_EXIT

#define NUI_ON_SCOPE_EXIT   auto NUI_UNIQUE_IDENTIFIER = ::Nui::Detail::MakeScopeExitImpl{}->*[&]