lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
Stores and calls a callable object on destruction. More...
#include <scope_guard.h>
Protected Member Functions | |
LEAN_INLINE | scope_annex_base () |
Constructs a valid scope annex. | |
LEAN_INLINE | scope_annex_base (const scope_annex_base &right) |
Copies AND INVALIDATES the given scope annex. | |
LEAN_INLINE bool | valid () const |
Gets whether this instance is still valid. |
Stores and calls a callable object on destruction.