ttg::detail::scope_exit< EF > Struct Template Reference

Documentation

template<typename EF>
struct ttg::detail::scope_exit< EF >

Definition at line 14 of file scope_exit.h.

Public Member Functions

 scope_exit (EF &&f)
 
 scope_exit (scope_exit &&rhs)
 
 ~scope_exit ()
 
void release ()
 

Constructor & Destructor Documentation

◆ scope_exit() [1/2]

template<typename EF >
ttg::detail::scope_exit< EF >::scope_exit ( EF &&  f)
inlineexplicit

Definition at line 18 of file scope_exit.h.

◆ scope_exit() [2/2]

template<typename EF >
ttg::detail::scope_exit< EF >::scope_exit ( scope_exit< EF > &&  rhs)
inline

Definition at line 24 of file scope_exit.h.

◆ ~scope_exit()

template<typename EF >
ttg::detail::scope_exit< EF >::~scope_exit ( )
inline

Definition at line 32 of file scope_exit.h.

Member Function Documentation

◆ release()

template<typename EF >
void ttg::detail::scope_exit< EF >::release ( )
inline

Definition at line 37 of file scope_exit.h.


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