Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | List of all members
toolbox::util::Finally< FnT > Class Template Reference

#include <toolbox/util/Finally.hpp>

Public Member Functions

 Finally (FnT fn) noexcept
 
 ~Finally ()
 
 Finally (const Finally &)=delete
 
Finallyoperator= (const Finally &)=delete
 
 Finally (Finally &&) noexcept=default
 
Finallyoperator= (Finally &&) noexcept=delete
 

Detailed Description

template<typename FnT>
class toolbox::util::Finally< FnT >

Definition at line 26 of file Finally.hpp.

Constructor & Destructor Documentation

◆ Finally() [1/3]

template<typename FnT >
toolbox::util::Finally< FnT >::Finally ( FnT  fn)
inlineexplicitnoexcept

Definition at line 30 of file Finally.hpp.

◆ ~Finally()

template<typename FnT >
toolbox::util::Finally< FnT >::~Finally ( )
inline

Definition at line 34 of file Finally.hpp.

◆ Finally() [2/3]

template<typename FnT >
toolbox::util::Finally< FnT >::Finally ( const Finally< FnT > &  )
delete

◆ Finally() [3/3]

template<typename FnT >
toolbox::util::Finally< FnT >::Finally ( Finally< FnT > &&  )
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

◆ operator=() [2/2]

template<typename FnT >
Finally & toolbox::util::Finally< FnT >::operator= ( Finally< FnT > &&  )
deletenoexcept

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