lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Protected Member Functions
lean::smart::scope_annex_base Class Reference

Stores and calls a callable object on destruction. More...

#include <scope_guard.h>

Inheritance diagram for lean::smart::scope_annex_base:
lean::smart::scope_annex_impl< Callable >

List of all members.

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.

Detailed Description

Stores and calls a callable object on destruction.


The documentation for this class was generated from the following file: