|
libcrn
3.9.5
A document image processing library
|
An objects that calls a functor when destroyed. More...
#include <CRNAtScopeExit.h>
Public Member Functions | |
| Destroyer (const std::function< void(void)> &f) | |
| Constructor. More... | |
| Destroyer (std::function< void(void)> &&f) | |
| Constructor. More... | |
| ~Destroyer () | |
| Destructor that calls the functor. More... | |
An objects that calls a functor when destroyed.
Definition at line 32 of file CRNAtScopeExit.h.
|
inline |
Constructor.
| [in] | f | the functor that will be called when the object is destroyed |
Definition at line 38 of file CRNAtScopeExit.h.
|
inline |
Constructor.
| [in] | f | the functor that will be called when the object is destroyed |
Definition at line 42 of file CRNAtScopeExit.h.
|
inline |
Destructor that calls the functor.
Definition at line 44 of file CRNAtScopeExit.h.
1.8.6