openMSX
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<std::invocable FUNC>
class scope_exit< FUNC >

Definition at line 26 of file scope_exit.hh.

Constructor & Destructor Documentation

◆ scope_exit()

template<std::invocable FUNC>
scope_exit< FUNC >::scope_exit ( FUNC &&  action_)
inlineexplicit

Definition at line 29 of file scope_exit.hh.

◆ ~scope_exit()

template<std::invocable FUNC>
scope_exit< FUNC >::~scope_exit ( )
inline

Definition at line 34 of file scope_exit.hh.


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