Class ScopeGuard

Class Documentation

class uitsl::ScopeGuard

Public Functions

template<typename OnConstruct, typename OnDestruct = std::function<void()>>
ScopeGuard(OnConstruct &&on_construct = [](){}, OnDestruct &&on_destruct_ = [](){})
~ScopeGuard()