libmdbx  0.11.6.39 (2022-04-13T11:05:50+03:00)
One of the fastest compact embeddable key-value ACID database without WAL.
mdbx::exception_thunk Class Reference

Transfers C++ exceptions thru C callbacks. More...

#include <mdbx.h++>

Public Member Functions

 exception_thunk () noexcept=default
 
 exception_thunk (const exception_thunk &)=delete
 
 exception_thunk (exception_thunk &&)=delete
 
exception_thunkoperator= (const exception_thunk &)=delete
 
exception_thunkoperator= (exception_thunk &&)=delete
 
bool is_clean () const noexcept
 
void capture () noexcept
 
void rethrow_captured () const
 

Detailed Description

Transfers C++ exceptions thru C callbacks.

Implements saving exceptions before returning from an C++'s environment to the intermediate C code and re-throwing after returning from C to the C++'s environment.

Constructor & Destructor Documentation

◆ exception_thunk() [1/3]

mdbx::exception_thunk::exception_thunk ( )
defaultnoexcept

◆ exception_thunk() [2/3]

mdbx::exception_thunk::exception_thunk ( const exception_thunk )
delete

◆ exception_thunk() [3/3]

mdbx::exception_thunk::exception_thunk ( exception_thunk &&  )
delete

Member Function Documentation

◆ capture()

void mdbx::exception_thunk::capture ( )
inlinenoexcept

◆ is_clean()

bool mdbx::exception_thunk::is_clean ( ) const
inlinenoexcept

◆ operator=() [1/2]

exception_thunk& mdbx::exception_thunk::operator= ( const exception_thunk )
delete

◆ operator=() [2/2]

exception_thunk& mdbx::exception_thunk::operator= ( exception_thunk &&  )
delete

◆ rethrow_captured()

void mdbx::exception_thunk::rethrow_captured ( ) const
inline

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