MySQL 8.0.30
Source Code Documentation
anonymous_namespace{my_winfile.cc}::WindowsErrorGuard Class Reference

RAII guard which ensures that: More...

Public Member Functions

 WindowsErrorGuard ()
 
 ~WindowsErrorGuard ()
 

Detailed Description

RAII guard which ensures that:

  • GetLastError() is mapped to its errno equivalent if set (unless errno is also set).
  • errno is copied to my_errno if set.

Constructor & Destructor Documentation

◆ WindowsErrorGuard()

anonymous_namespace{my_winfile.cc}::WindowsErrorGuard::WindowsErrorGuard ( )
inline

◆ ~WindowsErrorGuard()

anonymous_namespace{my_winfile.cc}::WindowsErrorGuard::~WindowsErrorGuard ( )
inline

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