roar
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Roar::ScopeExit< EF > Class Template Reference

#include <scope_exit.hpp>

Collaboration diagram for Roar::ScopeExit< EF >:

Public Member Functions

 ScopeExit (EF &&func)
 
 ~ScopeExit ()
 

Private Attributes

std::function< void()> onExit_
 

Constructor & Destructor Documentation

◆ ScopeExit()

template<typename EF >
Roar::ScopeExit< EF >::ScopeExit ( EF &&  func)
inline

◆ ~ScopeExit()

template<typename EF >
Roar::ScopeExit< EF >::~ScopeExit ( )
inline

Member Data Documentation

◆ onExit_

template<typename EF >
std::function<void()> Roar::ScopeExit< EF >::onExit_
private

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