ML Reference
ml::ScopeGuardDetail::ScopeGuard< Functor > Class Template Reference

#include <mlScopeGuard.h>

Public Member Functions

 ScopeGuard (Functor fn)
 
 ScopeGuard (ScopeGuard &&rhs)
 
 ~ScopeGuard ()
 
void dismiss ()
 

Detailed Description

template<class Functor>
class ml::ScopeGuardDetail::ScopeGuard< Functor >

Definition at line 42 of file mlScopeGuard.h.

Constructor & Destructor Documentation

◆ ScopeGuard() [1/2]

template<class Functor >
ml::ScopeGuardDetail::ScopeGuard< Functor >::ScopeGuard ( Functor fn)
inlineexplicit

Definition at line 45 of file mlScopeGuard.h.

◆ ScopeGuard() [2/2]

template<class Functor >
ml::ScopeGuardDetail::ScopeGuard< Functor >::ScopeGuard ( ScopeGuard< Functor > && rhs)
inline

Definition at line 50 of file mlScopeGuard.h.

◆ ~ScopeGuard()

template<class Functor >
ml::ScopeGuardDetail::ScopeGuard< Functor >::~ScopeGuard ( )
inline

Definition at line 57 of file mlScopeGuard.h.

Member Function Documentation

◆ dismiss()

template<class Functor >
void ml::ScopeGuardDetail::ScopeGuard< Functor >::dismiss ( )
inline

Definition at line 65 of file mlScopeGuard.h.


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