All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | Private Attributes | List of all members
ScopeGuard Class Reference

Public Member Functions

 ScopeGuard (std::function< void() > onScopeExit)
 
 ScopeGuard (const ScopeGuard &)=delete
 
void dismiss ()
 

Private Attributes

std::function< void()> m_onScopeExit
 
bool m_invoke = true
 

Detailed Description

Definition at line 30 of file util.h.


The documentation for this class was generated from the following file: