GA::kit v0.3
G&A's in-house C++ application framework
Loading...
Searching...
No Matches
ga::scope_guard Struct Reference

#include <util.h>

Public Member Functions

 scope_guard (const std::function< void()> &f)
 
 ~scope_guard ()
 

Protected Attributes

std::function< void()> _f
 

Constructor & Destructor Documentation

◆ scope_guard()

ga::scope_guard::scope_guard ( const std::function< void()> &  f)
inline

◆ ~scope_guard()

ga::scope_guard::~scope_guard ( )
inline

Member Data Documentation

◆ _f

std::function<void()> ga::scope_guard::_f
protected

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