LeechCraft  0.6.70-3565-g2d86529
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LeechCraft::Util::detail::ScopeGuard< F > Class Template Reference

#include "util.h"

Public Member Functions

 ScopeGuard () noexcept
 
 ScopeGuard (const F &f) noexcept
 
 ScopeGuard (const ScopeGuard &)=delete
 
ScopeGuardoperator= (const ScopeGuard &)=delete
 
ScopeGuardoperator= (ScopeGuard &&other)
 
 ScopeGuard (ScopeGuard &&other) noexcept
 
 ~ScopeGuard ()
 
void Dismiss () noexcept
 
ScopeGuard
< DefaultScopeGuardDeleter
EraseType ()
 
 operator ScopeGuard< DefaultScopeGuardDeleter > ()
 

Detailed Description

template<typename F>
class LeechCraft::Util::detail::ScopeGuard< F >

Definition at line 43 of file util.h.

Constructor & Destructor Documentation

template<typename F >
LeechCraft::Util::detail::ScopeGuard< F >::ScopeGuard ( )
inlinenoexcept

Definition at line 48 of file util.h.

template<typename F >
LeechCraft::Util::detail::ScopeGuard< F >::ScopeGuard ( const F &  f)
inlinenoexcept

Definition at line 54 of file util.h.

template<typename F >
LeechCraft::Util::detail::ScopeGuard< F >::ScopeGuard ( const ScopeGuard< F > &  )
delete
template<typename F >
LeechCraft::Util::detail::ScopeGuard< F >::ScopeGuard ( ScopeGuard< F > &&  other)
inlinenoexcept

Definition at line 70 of file util.h.

template<typename F >
LeechCraft::Util::detail::ScopeGuard< F >::~ScopeGuard ( )
inline

Definition at line 77 of file util.h.

Member Function Documentation

template<typename F >
void LeechCraft::Util::detail::ScopeGuard< F >::Dismiss ( )
inlinenoexcept

Definition at line 83 of file util.h.

Referenced by LeechCraft::Util::detail::ScopeGuard< F >::EraseType().

+ Here is the caller graph for this function:

template<typename F >
ScopeGuard<DefaultScopeGuardDeleter> LeechCraft::Util::detail::ScopeGuard< F >::EraseType ( )
inline

Definition at line 88 of file util.h.

References LeechCraft::Util::detail::ScopeGuard< F >::Dismiss().

Referenced by LeechCraft::Util::detail::ScopeGuard< F >::operator ScopeGuard< DefaultScopeGuardDeleter >().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename F >
LeechCraft::Util::detail::ScopeGuard< F >::operator ScopeGuard< DefaultScopeGuardDeleter > ( )
inline

Definition at line 94 of file util.h.

References LeechCraft::Util::detail::ScopeGuard< F >::EraseType().

+ Here is the call graph for this function:

template<typename F >
ScopeGuard& LeechCraft::Util::detail::ScopeGuard< F >::operator= ( const ScopeGuard< F > &  )
delete
template<typename F >
ScopeGuard& LeechCraft::Util::detail::ScopeGuard< F >::operator= ( ScopeGuard< F > &&  other)
inline

Definition at line 62 of file util.h.


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