OR-Tools  8.2
Storage< Callback >

Detailed Description

template<typename Callback>
class absl::cleanup_internal::Storage< Callback >

Definition at line 27 of file cleanup.h.

Public Member Functions

 Storage ()
 
 Storage (Storage &&other_storage)
 
template<typename TheCallback >
 Storage (TheCallback &&the_callback)
 
template<typename OtherCallback >
 Storage (Storage< OtherCallback > &&other_storage)
 
Storageoperator= (Storage &&other_storage)
 
bool ContainsCallback () const
 
Callback ReleaseCallback ()
 
void CancelCallback ()
 
void InvokeCallback ()
 

Constructor & Destructor Documentation

◆ Storage() [1/4]

Storage ( )
inline

Definition at line 33 of file cleanup.h.

◆ Storage() [2/4]

Storage ( Storage< Callback > &&  other_storage)
inline

Definition at line 35 of file cleanup.h.

◆ Storage() [3/4]

Storage ( TheCallback &&  the_callback)
inlineexplicit

Definition at line 40 of file cleanup.h.

◆ Storage() [4/4]

Storage ( Storage< OtherCallback > &&  other_storage)
inline

Definition at line 45 of file cleanup.h.

Member Function Documentation

◆ CancelCallback()

void CancelCallback ( )
inline

Definition at line 63 of file cleanup.h.

◆ ContainsCallback()

bool ContainsCallback ( ) const
inline

Definition at line 56 of file cleanup.h.

◆ InvokeCallback()

void InvokeCallback ( )
inline

Definition at line 65 of file cleanup.h.

◆ operator=()

Storage & operator= ( Storage< Callback > &&  other_storage)
inline

Definition at line 49 of file cleanup.h.

◆ ReleaseCallback()

Callback ReleaseCallback ( )
inline

Definition at line 58 of file cleanup.h.


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