CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
SKSE::stl::scope_exit< EF > Class Template Reference

#include <PCH.h>

Public Member Functions

template<class Fn >
requires (!std::is_same_v<std::remove_cvref_t<Fn>, scope_exit> && std::is_constructible_v<EF, Fn>)
 scope_exit (Fn &&a_fn) noexcept(std::is_nothrow_constructible_v< EF, Fn >||std::is_nothrow_constructible_v< EF, Fn & >)
 
 scope_exit (scope_exit &&a_rhs) noexcept(std::is_nothrow_move_constructible_v< EF >||std::is_nothrow_copy_constructible_v< EF >)
 
 scope_exit (const scope_exit &)=delete
 
 ~scope_exit () noexcept
 
void release () noexcept
 

Constructor & Destructor Documentation

◆ scope_exit() [1/3]

template<class EF >
template<class Fn >
requires (!std::is_same_v<std::remove_cvref_t<Fn>, scope_exit> && std::is_constructible_v<EF, Fn>)
SKSE::stl::scope_exit< EF >::scope_exit ( Fn &&  a_fn)
inlineexplicitnoexcept

◆ scope_exit() [2/3]

template<class EF >
SKSE::stl::scope_exit< EF >::scope_exit ( scope_exit< EF > &&  a_rhs)
inlinenoexcept

◆ scope_exit() [3/3]

template<class EF >
SKSE::stl::scope_exit< EF >::scope_exit ( const scope_exit< EF > &  )
delete

◆ ~scope_exit()

template<class EF >
SKSE::stl::scope_exit< EF >::~scope_exit ( )
inlinenoexcept

Member Function Documentation

◆ release()

template<class EF >
void SKSE::stl::scope_exit< EF >::release ( )
inlinenoexcept

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