GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
unwind_action Class Reference

#include "unwind-prot.h"

Collaboration diagram for unwind_action:

Public Member Functions

 unwind_action (const unwind_action &)=delete
 
template<typename F , typename... Args>
 unwind_action (F &&fcn, Args &&... args)
 
 unwind_action (void)
 
 ~unwind_action (void)
 
void discard (void)
 
unwind_actionoperator= (const unwind_action &)=delete
 
void run (void)
 
template<typename F , typename... Args>
void set (F &&fcn, Args &&... args)
 
void set (void)
 

Private Attributes

std::function< void(void)> m_fcn
 

Detailed Description

Definition at line 165 of file unwind-prot.h.

Constructor & Destructor Documentation

◆ unwind_action() [1/3]

unwind_action::unwind_action ( void  )
inline

Definition at line 169 of file unwind-prot.h.

◆ unwind_action() [2/3]

template<typename F , typename... Args>
unwind_action::unwind_action ( F &&  fcn,
Args &&...  args 
)
inline

Definition at line 175 of file unwind-prot.h.

◆ unwind_action() [3/3]

unwind_action::unwind_action ( const unwind_action )
delete

◆ ~unwind_action()

unwind_action::~unwind_action ( void  )
inline

Definition at line 185 of file unwind-prot.h.

Member Function Documentation

◆ discard()

void unwind_action::discard ( void  )
inline

Definition at line 199 of file unwind-prot.h.

◆ operator=()

unwind_action& unwind_action::operator= ( const unwind_action )
delete

◆ run()

void unwind_action::run ( void  )
inline

Definition at line 201 of file unwind-prot.h.

◆ set() [1/2]

template<typename F , typename... Args>
void unwind_action::set ( F &&  fcn,
Args &&...  args 
)
inline

Definition at line 191 of file unwind-prot.h.

◆ set() [2/2]

void unwind_action::set ( void  )
inline

Definition at line 196 of file unwind-prot.h.

Member Data Documentation

◆ m_fcn

std::function<void (void)> unwind_action::m_fcn
private

Definition at line 212 of file unwind-prot.h.


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