Public Member Functions | List of all members
scope_exit< FUNC > Class Template Reference

#include <scope_exit.hh>

Public Member Functions

 scope_exit (FUNC &&action_)
 ~scope_exit ()

Detailed Description

template<typename FUNC>
class scope_exit< FUNC >

Definition at line 25 of file scope_exit.hh.

Constructor & Destructor Documentation

◆ scope_exit()

template<typename FUNC >
scope_exit< FUNC >::scope_exit ( FUNC &&  action_)

Definition at line 28 of file scope_exit.hh.

◆ ~scope_exit()

template<typename FUNC >
scope_exit< FUNC >::~scope_exit ( )

Definition at line 33 of file scope_exit.hh.

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