qxLib
|
Class for RAII: functor passed in constructor will be called in destructor. More...
#include <destruction_callback.h>
Public Member Functions | |
destruction_callback (destroyer _destroyer) | |
destruction_callback object constructor More... | |
Class for RAII: functor passed in constructor will be called in destructor.
Definition at line 24 of file destruction_callback.h.
|
inline |
destruction_callback object constructor
_destroyer | - functor that will be called when object will be destroyed |
Definition at line 39 of file destruction_callback.h.