Enigma  3.2.0
A Simple, Reliable and Efficient Encryption Tool
FinalAction< F > Class Template Reference

Executes a function at the end of the scope (deferred) using RAII gsl libs. More...

#include <FinalAction.hpp>

Public Member Functions

 FinalAction (const F &ff) noexcept
 
 FinalAction (F &&ff) noexcept
 
 ~FinalAction () noexcept
 
 FinalAction (FinalAction &&other) noexcept
 
 FinalAction (const FinalAction &)=delete
 
void operator= (const FinalAction &)=delete
 
void operator= (FinalAction &&)=delete
 

Detailed Description

template<class F>
class FinalAction< F >

Executes a function at the end of the scope (deferred) using RAII gsl libs.

Definition at line 9 of file FinalAction.hpp.

Constructor & Destructor Documentation

◆ FinalAction() [1/4]

template<class F >
FinalAction< F >::FinalAction ( const F ff)
inlineexplicitnoexcept

Definition at line 11 of file FinalAction.hpp.

◆ FinalAction() [2/4]

template<class F >
FinalAction< F >::FinalAction ( F &&  ff)
inlineexplicitnoexcept

Definition at line 12 of file FinalAction.hpp.

◆ ~FinalAction()

template<class F >
FinalAction< F >::~FinalAction ( )
inlinenoexcept

Definition at line 14 of file FinalAction.hpp.

◆ FinalAction() [3/4]

template<class F >
FinalAction< F >::FinalAction ( FinalAction< F > &&  other)
inlinenoexcept

Definition at line 18 of file FinalAction.hpp.

◆ FinalAction() [4/4]

template<class F >
FinalAction< F >::FinalAction ( const FinalAction< F > &  )
delete

Member Function Documentation

◆ operator=() [1/2]

template<class F >
void FinalAction< F >::operator= ( const FinalAction< F > &  )
delete

◆ operator=() [2/2]

template<class F >
void FinalAction< F >::operator= ( FinalAction< F > &&  )
delete

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