emilib
Public Member Functions | List of all members
emilib::ScopeGuard< Fun > Class Template Reference

#include <scope_exit.hpp>

Public Member Functions

 ScopeGuard (Fun f)
 
void dismiss ()
 
 ScopeGuard (const ScopeGuard &)=delete
 
ScopeGuardoperator= (const ScopeGuard &)=delete
 
 ScopeGuard (ScopeGuard &&rhs)
 

Detailed Description

template<class Fun>
class emilib::ScopeGuard< Fun >

Based on Andrei Alexandrescu's talk "Systematic Error Handling in C++" at C++ and Beyond 2012. Slides: https://onedrive.live.com/view.aspx?resid=F1B8FF18A2AEC5C5!1158&app=WordPdf&authkey=!APo6bfP5sJ8EmH4


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