MySQL 9.0.0
Source Code Documentation
Xcom_scope_guard Class Reference

#include <xcom_scope_guard.h>

Public Member Functions

 ~Xcom_scope_guard ()
 
 Xcom_scope_guard (std::function< void()> f)
 

Private Attributes

std::function< void()> m_cleanup_code
 

Constructor & Destructor Documentation

◆ ~Xcom_scope_guard()

Xcom_scope_guard::~Xcom_scope_guard ( )
inline

◆ Xcom_scope_guard()

Xcom_scope_guard::Xcom_scope_guard ( std::function< void()>  f)
inline

Member Data Documentation

◆ m_cleanup_code

std::function<void()> Xcom_scope_guard::m_cleanup_code
private

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