11 template <
typename _ctorRet_t>
14 RaiiWrapper(std::function<_ctorRet_t()> createCall, std::function<
void()> destroyCall)
void Release()
Definition: raiiwrapper.h:25
_ctorRet_t mCtorRet
Definition: raiiwrapper.h:31
~RaiiWrapper()
Definition: raiiwrapper.h:20
RaiiWrapper & operator=(const RaiiWrapper &rhs)
std::function< void()> mDestroyCall
Definition: raiiwrapper.h:30
RaiiWrapper(std::function< _ctorRet_t()> createCall, std::function< void()> destroyCall)
Definition: raiiwrapper.h:14
Definition: raiiwrapper.h:12