A scope guard that executes a function when it goes out of scope.  
 More...
#include <scope_guard.hpp>
A scope guard that executes a function when it goes out of scope. 
 
◆ scope_guard()
  
  
      
        
          | franky::scope_guard::scope_guard  | 
          ( | 
          std::function< void()>  | 
          f | ) | 
           | 
         
       
   | 
  
inlineexplicit   | 
  
 
Constructor that takes a function to execute when the guard goes out of scope. 
- Parameters
 - 
  
    | f | The function to execute.  | 
  
   
 
 
◆ ~scope_guard()
  
  
      
        
          | franky::scope_guard::~scope_guard  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
The documentation for this class was generated from the following file: