#include "unwind-prot.h"
|
| | unwind_protect () |
| |
| | ~unwind_protect () |
| |
| void | discard_first () |
| |
| | operator bool () const |
| |
| void | run_first () |
| |
| std::size_t | size () const |
| |
| | action_container () |
| |
| virtual | ~action_container ()=default |
| |
| template<typename F , typename... Args> |
| void | add (F &&fcn, Args &&... args) |
| |
| template<typename T > |
| void | add_delete (T *obj) |
| |
| template<typename... Params, typename... Args> |
| void | add_fcn (void(*fcn)(Params...), Args &&... args) |
| |
| template<typename T , typename... Params, typename... Args> |
| void | add_method (T &obj, void(T::*method)(Params...), Args &&... args) |
| |
| template<typename T , typename... Params, typename... Args> |
| void | add_method (T *obj, void(T::*method)(Params...), Args &&... args) |
| |
| void | discard () |
| |
| void | discard (std::size_t num) |
| |
| bool | empty () const |
| |
| | operator bool () const |
| |
| template<typename T > |
| void | protect_var (T &var) |
| |
| template<typename T > |
| void | protect_var (T &var, const T &val) |
| |
| void | run () |
| |
| void | run (std::size_t num) |
| |
Definition at line 40 of file unwind-prot.h.
◆ unwind_protect()
| unwind_protect::unwind_protect |
( |
| ) |
|
|
inline |
◆ ~unwind_protect()
| unwind_protect::~unwind_protect |
( |
| ) |
|
|
inline |
◆ add_action()
| virtual void unwind_protect::add_action |
( |
elem * |
new_elem | ) |
|
|
inlineprotectedvirtual |
◆ discard_first()
| void unwind_protect::discard_first |
( |
| ) |
|
|
inlinevirtual |
◆ operator bool()
| unwind_protect::operator bool |
( |
| ) |
const |
|
inline |
◆ run_first()
| void unwind_protect::run_first |
( |
| ) |
|
|
inlinevirtual |
◆ size()
| std::size_t unwind_protect::size |
( |
| ) |
const |
|
inlinevirtual |
◆ m_lifo
| std::stack<elem *> unwind_protect::m_lifo |
|
protected |
The documentation for this class was generated from the following file: