Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
peg::scope_exit< EF > Struct Template Reference

#include <peglib.h>

Public Member Functions

 scope_exit (EF &&f)
 scope_exit (scope_exit &&rhs)
 ~scope_exit ()
void release ()

Private Member Functions

 scope_exit (const scope_exit &)=delete
void operator= (const scope_exit &)=delete
scope_exitoperator= (scope_exit &&)=delete

Private Attributes

EF exit_function
bool execute_on_destruction

Constructor & Destructor Documentation

◆ scope_exit() [1/3]

template<typename EF>
peg::scope_exit< EF >::scope_exit ( EF && f)
inlineexplicit
Here is the caller graph for this function:

◆ scope_exit() [2/3]

template<typename EF>
peg::scope_exit< EF >::scope_exit ( scope_exit< EF > && rhs)
inline
Here is the call graph for this function:

◆ ~scope_exit()

template<typename EF>
peg::scope_exit< EF >::~scope_exit ( )
inline

◆ scope_exit() [3/3]

template<typename EF>
peg::scope_exit< EF >::scope_exit ( const scope_exit< EF > & )
privatedelete
Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

template<typename EF>
void peg::scope_exit< EF >::operator= ( const scope_exit< EF > & )
privatedelete
Here is the call graph for this function:

◆ operator=() [2/2]

template<typename EF>
scope_exit & peg::scope_exit< EF >::operator= ( scope_exit< EF > && )
privatedelete
Here is the call graph for this function:

◆ release()

template<typename EF>
void peg::scope_exit< EF >::release ( )
inline

Member Data Documentation

◆ execute_on_destruction

template<typename EF>
bool peg::scope_exit< EF >::execute_on_destruction
private

◆ exit_function

template<typename EF>
EF peg::scope_exit< EF >::exit_function
private

The documentation for this struct was generated from the following file:
  • libcockatrice_utility/libcockatrice/utility/peglib.h