slang/util/ScopeGuard.h file

Contains the ScopeGuard utility class.

Namespaces

namespace slang
Root namespace.

Classes

template<typename F>
class slang::ScopeGuard
A simple guard class that ensures a given function is invoked when the guard object is destroyed.