Struct mdbx::buffer::data_preserver
Inherits the following classes: mdbx::exception_thunk
Public Attributes
| Type | Name |
|---|---|
| buffer | data |
Public Functions
| Type | Name |
|---|---|
| data_preserver (const allocator_type & alloc) |
|
| constexpr | operator MDBX_preserve_func () noexcept const |
Public Functions inherited from mdbx::exception_thunk
| Type | Name |
|---|---|
| exception_thunk () noexcept Default constructor, creates an empty (clean) thunk. |
|
| exception_thunk (const exception_thunk &) = delete Copy construction is prohibited. |
|
| exception_thunk (exception_thunk &&) = delete Move construction is prohibited. |
|
| exception_thunk & | operator= (const exception_thunk &) = delete Copy assignment is prohibited. |
| exception_thunk & | operator= (exception_thunk &&) = delete Move assignment is prohibited. |
Public Static Functions
| Type | Name |
|---|---|
| int | callback (void * context, MDBX_val * target, const void * src, size_t bytes) noexcept |
Public Attributes Documentation
variable data
buffer mdbx::buffer< ALLOCATOR, CAPACITY_POLICY >::data_preserver::data;
Public Functions Documentation
function data_preserver
inline data_preserver::data_preserver (
const allocator_type & alloc
)
function operator MDBX_preserve_func
inline constexpr data_preserver::operator MDBX_preserve_func () noexcept const
Public Static Functions Documentation
function callback
static inline int data_preserver::callback (
void * context,
MDBX_val * target,
const void * src,
size_t bytes
) noexcept
The documentation for this class was generated from the following file mdbx.h++