WPILibC++ 2023.4.3-108-ge5452e3
wpi::scope_exit< F > Class Template Reference

Public Member Functions

 scope_exit (F &&f) noexcept
 
 ~scope_exit ()
 
 scope_exit (scope_exit &&rhs) noexcept
 
 scope_exit (const scope_exit &)=delete
 
scope_exitoperator= (const scope_exit &)=delete
 
void release () noexcept
 

Constructor & Destructor Documentation

◆ scope_exit() [1/3]

template<typename F >
wpi::scope_exit< F >::scope_exit ( F &&  f)
inlineexplicitnoexcept

◆ ~scope_exit()

template<typename F >
wpi::scope_exit< F >::~scope_exit ( )
inline

◆ scope_exit() [2/3]

template<typename F >
wpi::scope_exit< F >::scope_exit ( scope_exit< F > &&  rhs)
inlinenoexcept

◆ scope_exit() [3/3]

template<typename F >
wpi::scope_exit< F >::scope_exit ( const scope_exit< F > &  )
delete

Member Function Documentation

◆ operator=()

template<typename F >
scope_exit & wpi::scope_exit< F >::operator= ( const scope_exit< F > &  )
delete

◆ release()

template<typename F >
void wpi::scope_exit< F >::release ( )
inlinenoexcept

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