LeechCraft  0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
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< DefaultScopeGuardDeleterEraseType ()
 
 operator ScopeGuard< DefaultScopeGuardDeleter > ()
 
SharedScopeGuard Shared ()
 

Detailed Description

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

Definition at line 64 of file util.h.

Constructor & Destructor Documentation

◆ ScopeGuard() [1/4]

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

Definition at line 69 of file util.h.

◆ ScopeGuard() [2/4]

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

Definition at line 75 of file util.h.

References LeechCraft::Util::oral::sph::f.

◆ ScopeGuard() [3/4]

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

◆ ScopeGuard() [4/4]

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

Definition at line 94 of file util.h.

◆ ~ScopeGuard()

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

Definition at line 101 of file util.h.

Member Function Documentation

◆ Dismiss()

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

Definition at line 107 of file util.h.

◆ EraseType()

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

Definition at line 112 of file util.h.

◆ operator ScopeGuard< DefaultScopeGuardDeleter >()

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

Definition at line 118 of file util.h.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Definition at line 83 of file util.h.

◆ Shared()

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

Definition at line 123 of file util.h.


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