Group cxx_exceptions
Modules > cxx_exceptions
Classes
Public Functions
Public Static Functions
| Type |
Name |
| size_t |
check_length (size_t bytes)
|
| size_t |
check_length (size_t headroom, size_t payload)
|
| size_t |
check_length (size_t headroom, size_t payload, size_t tailroom)
|
| size_t |
check_nullptr_length (size_t bytes) The only length allowed for a null pointer: zero. A null pointer with a non-zero length would dereference address zero; it is rejected with bad_value_size . |
Macros
Public Functions Documentation
function throw_allocators_mismatch
LIBMDBX_API void throw_allocators_mismatch ()
function throw_bad_value_size
LIBMDBX_API void throw_bad_value_size ()
function throw_incomparable_cursors
LIBMDBX_API void throw_incomparable_cursors ()
function throw_max_length_exceeded
LIBMDBX_API void throw_max_length_exceeded ()
function throw_out_range
LIBMDBX_API void throw_out_range ()
function throw_too_small_target_buffer
LIBMDBX_API void throw_too_small_target_buffer ()
Public Static Functions Documentation
function check_length
static size_t check_length (
size_t bytes
)
function check_length
static size_t check_length (
size_t headroom,
size_t payload
)
function check_length
static size_t check_length (
size_t headroom,
size_t payload,
size_t tailroom
)
function check_nullptr_length
The only length allowed for a null pointer: zero. A null pointer with a non-zero length would dereference address zero; it is rejected with bad_value_size .
static size_t check_nullptr_length (
size_t bytes
)
Macro Definition Documentation
define MDBX_DECLARE_EXCEPTION
#define MDBX_DECLARE_EXCEPTION (
NAME
) `/* multi line expression */`