Nui
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Nui::ScopeExit Class Reference

#include <scope_exit.hpp>

Public Member Functions

template<typename FunctionT >
requires std::is_nothrow_invocable_v<FunctionT>
 ScopeExit (FunctionT &&func)
 
 ~ScopeExit ()
 
 ScopeExit (ScopeExit &&other)=delete
 
ScopeExitoperator= (ScopeExit &&other)=delete
 
 ScopeExit (const ScopeExit &)=delete
 
ScopeExitoperator= (const ScopeExit &)=delete
 
void disarm ()
 

Constructor & Destructor Documentation

◆ ScopeExit() [1/3]

template<typename FunctionT >
requires std::is_nothrow_invocable_v<FunctionT>
Nui::ScopeExit::ScopeExit ( FunctionT &&  func)
inlineexplicit

◆ ~ScopeExit()

Nui::ScopeExit::~ScopeExit ( )
inline

◆ ScopeExit() [2/3]

Nui::ScopeExit::ScopeExit ( ScopeExit &&  other)
delete

◆ ScopeExit() [3/3]

Nui::ScopeExit::ScopeExit ( const ScopeExit )
delete

Member Function Documentation

◆ disarm()

void Nui::ScopeExit::disarm ( )
inline

◆ operator=() [1/2]

ScopeExit & Nui::ScopeExit::operator= ( const ScopeExit )
delete

◆ operator=() [2/2]

ScopeExit & Nui::ScopeExit::operator= ( ScopeExit &&  other)
delete

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