GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::unwind_protect_var< T > Class Template Reference

#include "unwind-prot.h"

Collaboration diagram for octave::unwind_protect_var< T >:

Public Member Functions

 unwind_protect_var (const unwind_protect_var &)=delete
 
 unwind_protect_var (T &ref)
 
 unwind_protect_var (T &ref, const T &new_val)
 
 ~unwind_protect_var (void)
 
unwind_protect_varoperator= (const unwind_protect_var &)=delete
 

Private Attributes

T & m_ref
 
m_val
 

Detailed Description

template<typename T>
class octave::unwind_protect_var< T >

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

Constructor & Destructor Documentation

◆ unwind_protect_var() [1/3]

template<typename T >
octave::unwind_protect_var< T >::unwind_protect_var ( T &  ref)
inlineexplicit

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

◆ unwind_protect_var() [2/3]

template<typename T >
octave::unwind_protect_var< T >::unwind_protect_var ( T &  ref,
const T &  new_val 
)
inline

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

References octave::unwind_protect_var< T >::m_ref.

◆ unwind_protect_var() [3/3]

template<typename T >
octave::unwind_protect_var< T >::unwind_protect_var ( const unwind_protect_var< T > &  )
delete

◆ ~unwind_protect_var()

template<typename T >
octave::unwind_protect_var< T >::~unwind_protect_var ( void  )
inline

Member Function Documentation

◆ operator=()

template<typename T >
unwind_protect_var& octave::unwind_protect_var< T >::operator= ( const unwind_protect_var< T > &  )
delete

Member Data Documentation

◆ m_ref

◆ m_val

template<typename T >
T octave::unwind_protect_var< T >::m_val
private

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

Referenced by octave::unwind_protect_var< T >::~unwind_protect_var().


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