MySQL 8.0.40
Source Code Documentation
services::Lex_str Class Reference

A very limited smart pointer to protect against stack unwinding in case an STL class throws an exception. More...

Public Member Functions

 Lex_str (MYSQL_LEX_STRING str)
 
const MYSQL_LEX_STRING get ()
 
 ~Lex_str ()
 

Private Member Functions

Lex_stroperator= (const Lex_str &)
 
 Lex_str (const Lex_str &)
 

Private Attributes

MYSQL_LEX_STRING m_str
 

Detailed Description

A very limited smart pointer to protect against stack unwinding in case an STL class throws an exception.

The interface is similar to unique_ptr.

Constructor & Destructor Documentation

◆ Lex_str() [1/2]

services::Lex_str::Lex_str ( const Lex_str )
private

◆ Lex_str() [2/2]

services::Lex_str::Lex_str ( MYSQL_LEX_STRING  str)
inline

◆ ~Lex_str()

services::Lex_str::~Lex_str ( )
inline

Member Function Documentation

◆ get()

const MYSQL_LEX_STRING services::Lex_str::get ( )
inline

◆ operator=()

Lex_str & services::Lex_str::operator= ( const Lex_str )
private

Member Data Documentation

◆ m_str

MYSQL_LEX_STRING services::Lex_str::m_str
private

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