Public Member Functions | Private Member Functions | Private Attributes | Friends

unwind_protect::restore_var_elem< T > Class Template Reference

#include "unwind-prot.h"

Inheritance diagram for unwind_protect::restore_var_elem< T >:
Inheritance graph
[legend]
Collaboration diagram for unwind_protect::restore_var_elem< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 restore_var_elem (T &ref, const T &val)
void run (void)

Private Member Functions

 restore_var_elem (const restore_var_elem &)
restore_var_elemoperator= (const restore_var_elem &)

Private Attributes

T * e_ptr
e_val

Friends

class unwind_protect

Detailed Description

template<class T>
class unwind_protect::restore_var_elem< T >

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


Constructor & Destructor Documentation

template<class T >
unwind_protect::restore_var_elem< T >::restore_var_elem ( T &  ref,
const T &  val 
) [inline]

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

template<class T >
unwind_protect::restore_var_elem< T >::restore_var_elem ( const restore_var_elem< T > &   )  [private]

Member Function Documentation

template<class T >
restore_var_elem& unwind_protect::restore_var_elem< T >::operator= ( const restore_var_elem< T > &   )  [private]
template<class T >
void unwind_protect::restore_var_elem< T >::run ( void   )  [inline, virtual]

Reimplemented from unwind_protect::elem.

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


Friends And Related Function Documentation

friend class unwind_protect [friend, inherited]

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


Member Data Documentation

template<class T >
T* unwind_protect::restore_var_elem< T >::e_ptr [private]

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

template<class T >
T unwind_protect::restore_var_elem< T >::e_val [private]

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


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines