#include "unwind-prot.h"
|
| unwind_protect_safe (const unwind_protect_safe &)=delete |
|
| unwind_protect_safe (void) |
|
| ~unwind_protect_safe (void) |
|
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 (std::size_t num) |
|
void | discard (void) |
|
void | discard_first (void) |
|
bool | empty (void) const |
|
| operator bool (void) const |
|
unwind_protect_safe & | operator= (const unwind_protect_safe &)=delete |
|
template<typename T > |
void | protect_var (T &var) |
|
template<typename T > |
void | protect_var (T &var, const T &val) |
|
OCTAVE_API void | run (std::size_t num) |
|
void | run (void) |
|
void | run_first (void) |
|
std::size_t | size (void) const |
|
Definition at line 99 of file unwind-prot.h.
◆ unwind_protect_safe() [1/2]
unwind_protect_safe::unwind_protect_safe |
( |
void |
| ) |
|
|
inline |
◆ unwind_protect_safe() [2/2]
◆ ~unwind_protect_safe()
unwind_protect_safe::~unwind_protect_safe |
( |
void |
| ) |
|
|
inline |
◆ add()
template<typename F , typename... Args>
void action_container::add |
( |
F && |
fcn, |
|
|
Args &&... |
args |
|
) |
| |
|
inlineinherited |
◆ add_action()
virtual void unwind_protect::add_action |
( |
elem * |
new_elem | ) |
|
|
inlineprotectedvirtualinherited |
◆ add_delete()
template<typename T >
void action_container::add_delete |
( |
T * |
obj | ) |
|
|
inlineinherited |
◆ add_fcn()
template<typename... Params, typename... Args>
void action_container::add_fcn |
( |
void(*)(Params...) |
fcn, |
|
|
Args &&... |
args |
|
) |
| |
|
inlineinherited |
◆ add_method() [1/2]
template<typename T , typename... Params, typename... Args>
void action_container::add_method |
( |
T & |
obj, |
|
|
void(T::*)(Params...) |
method, |
|
|
Args &&... |
args |
|
) |
| |
|
inlineinherited |
◆ add_method() [2/2]
template<typename T , typename... Params, typename... Args>
void action_container::add_method |
( |
T * |
obj, |
|
|
void(T::*)(Params...) |
method, |
|
|
Args &&... |
args |
|
) |
| |
|
inlineinherited |
◆ discard() [1/2]
void action_container::discard |
( |
std::size_t |
num | ) |
|
|
inlineinherited |
◆ discard() [2/2]
void action_container::discard |
( |
void |
| ) |
|
|
inlineinherited |
◆ discard_first()
void unwind_protect::discard_first |
( |
void |
| ) |
|
|
inlinevirtualinherited |
◆ empty()
bool action_container::empty |
( |
void |
| ) |
const |
|
inlineinherited |
◆ operator bool()
unwind_protect::operator bool |
( |
void |
| ) |
const |
|
inlineinherited |
◆ operator=()
◆ protect_var() [1/2]
template<typename T >
void action_container::protect_var |
( |
T & |
var | ) |
|
|
inlineinherited |
◆ protect_var() [2/2]
template<typename T >
void action_container::protect_var |
( |
T & |
var, |
|
|
const T & |
val |
|
) |
| |
|
inlineinherited |
◆ run() [1/2]
void action_container::run |
( |
std::size_t |
num | ) |
|
|
inherited |
◆ run() [2/2]
void action_container::run |
( |
void |
| ) |
|
|
inlineinherited |
◆ run_first()
void unwind_protect::run_first |
( |
void |
| ) |
|
|
inlinevirtualinherited |
◆ size()
std::size_t unwind_protect::size |
( |
void |
| ) |
const |
|
inlinevirtualinherited |
◆ warn_unhandled_exception()
void unwind_protect_safe::warn_unhandled_exception |
( |
void |
| ) |
const |
|
private |
◆ m_lifo
std::stack<elem *> unwind_protect::m_lifo |
|
protectedinherited |
The documentation for this class was generated from the following files: