OR-Tools  8.1
Cleanup< Callback >

Detailed Description

template<typename Callback>
class absl::Cleanup< Callback >

Definition at line 86 of file cleanup.h.

Public Member Functions

 Cleanup ()=default
 
 Cleanup (Cleanup &&)=default
 
template<typename TheCallback >
 Cleanup (TheCallback &&the_callback)
 
template<typename OtherCallback >
 Cleanup (Cleanup< OtherCallback > &&other_cleanup)
 
 ~Cleanup ()
 
Cleanupoperator= (Cleanup &&)=default
 
bool is_released () const
 

Constructor & Destructor Documentation

◆ Cleanup() [1/4]

Cleanup ( )
default

◆ Cleanup() [2/4]

Cleanup ( Cleanup< Callback > &&  )
default

◆ Cleanup() [3/4]

Cleanup ( TheCallback &&  the_callback)
inlineexplicit

Definition at line 96 of file cleanup.h.

◆ Cleanup() [4/4]

Cleanup ( Cleanup< OtherCallback > &&  other_cleanup)
inline

Definition at line 100 of file cleanup.h.

◆ ~Cleanup()

~Cleanup ( )
inline

Definition at line 103 of file cleanup.h.

Member Function Documentation

◆ is_released()

bool is_released ( ) const
inline

Definition at line 111 of file cleanup.h.

◆ operator=()

Cleanup& operator= ( Cleanup< Callback > &&  )
default

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