UtilsLite
Utilities for C++ programming
Loading...
Searching...
No Matches
Utils::at_scope_exit_impl< Destructor > Class Template Reference

#include <ThreadUtils.hxx>

Public Member Functions

 at_scope_exit_impl (at_scope_exit_impl const &)=delete
 
at_scope_exit_imploperator= (at_scope_exit_impl const &)=delete
 
 at_scope_exit_impl ()
 
 at_scope_exit_impl (Destructor &&destructor)
 
 at_scope_exit_impl (Destructor const &destructor)
 
 at_scope_exit_impl (at_scope_exit_impl &&x) noexcept
 
at_scope_exit_imploperator= (at_scope_exit_impl &&x)
 
 ~at_scope_exit_impl ()
 

Detailed Description

template<class Destructor>
class Utils::at_scope_exit_impl< Destructor >

Call some function at the end of the current block

Constructor & Destructor Documentation

◆ at_scope_exit_impl() [1/5]

template<class Destructor>
Utils::at_scope_exit_impl< Destructor >::at_scope_exit_impl ( at_scope_exit_impl< Destructor > const & )
delete

◆ at_scope_exit_impl() [2/5]

template<class Destructor>
Utils::at_scope_exit_impl< Destructor >::at_scope_exit_impl ( )
inline

◆ at_scope_exit_impl() [3/5]

template<class Destructor>
Utils::at_scope_exit_impl< Destructor >::at_scope_exit_impl ( Destructor && destructor)
inlineexplicit

◆ at_scope_exit_impl() [4/5]

template<class Destructor>
Utils::at_scope_exit_impl< Destructor >::at_scope_exit_impl ( Destructor const & destructor)
inlineexplicit

◆ at_scope_exit_impl() [5/5]

template<class Destructor>
Utils::at_scope_exit_impl< Destructor >::at_scope_exit_impl ( at_scope_exit_impl< Destructor > && x)
inlinenoexcept

◆ ~at_scope_exit_impl()

template<class Destructor>
Utils::at_scope_exit_impl< Destructor >::~at_scope_exit_impl ( )
inline

Member Function Documentation

◆ operator=() [1/2]

template<class Destructor>
at_scope_exit_impl & Utils::at_scope_exit_impl< Destructor >::operator= ( at_scope_exit_impl< Destructor > && x)
inline

◆ operator=() [2/2]

template<class Destructor>
at_scope_exit_impl & Utils::at_scope_exit_impl< Destructor >::operator= ( at_scope_exit_impl< Destructor > const & )
delete

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