#include "unwind-prot.h"
|
| unwind_protect_safe () |
|
| ~unwind_protect_safe () |
|
| 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 95 of file unwind-prot.h.
◆ unwind_protect_safe()
unwind_protect_safe::unwind_protect_safe |
( |
| ) |
|
|
inline |
◆ ~unwind_protect_safe()
unwind_protect_safe::~unwind_protect_safe |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: