mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:44:12 +08:00
mdbx-docs: minor refine Doxygen config and comments.
This commit is contained in:
parent
e154a07fe8
commit
c8cad3704e
@ -945,6 +945,7 @@ EXCLUDE_SYMBOLS = NOMINMAX __ORDER_BIG_ENDIAN__ __ORDER_LITTLE_ENDIAN__ \
|
|||||||
__has_include __has_attribute __has_builtin __has_cpp_attribute __has_extension __has_feature \
|
__has_include __has_attribute __has_builtin __has_cpp_attribute __has_extension __has_feature \
|
||||||
HAVE_STRUCT_IOVEC MDBX_STRINGIFY_HELPER MDBX_STRINGIFY \
|
HAVE_STRUCT_IOVEC MDBX_STRINGIFY_HELPER MDBX_STRINGIFY \
|
||||||
MDBX_NOSANITIZE_ENUM MDBX_PRINTF_ARGS \
|
MDBX_NOSANITIZE_ENUM MDBX_PRINTF_ARGS \
|
||||||
|
MDBX_HAVE_CXX20_CONCEPTS \
|
||||||
CONSTEXPR_ENUM_FLAGS_OPERATIONS DEFINE_ENUM_FLAG_OPERATORS \
|
CONSTEXPR_ENUM_FLAGS_OPERATIONS DEFINE_ENUM_FLAG_OPERATORS \
|
||||||
bool false true __dll_export __dll_import
|
bool false true __dll_export __dll_import
|
||||||
|
|
||||||
@ -2222,6 +2223,8 @@ INCLUDE_FILE_PATTERNS =
|
|||||||
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
||||||
|
|
||||||
PREDEFINED = DOXYGEN MDBX_DECLARE_EXCEPTION \
|
PREDEFINED = DOXYGEN MDBX_DECLARE_EXCEPTION \
|
||||||
|
MDBX_NOTHROW_PURE_FUNCTION MDBX_PURE_FUNCTION \
|
||||||
|
MDBX_NOTHROW_CONST_FUNCTION \
|
||||||
MDBX_CXX01_CONSTEXPR MDBX_CXX01_CONSTEXPR_VAR \
|
MDBX_CXX01_CONSTEXPR MDBX_CXX01_CONSTEXPR_VAR \
|
||||||
MDBX_CXX11_CONSTEXPR MDBX_CXX11_CONSTEXPR_VAR \
|
MDBX_CXX11_CONSTEXPR MDBX_CXX11_CONSTEXPR_VAR \
|
||||||
MDBX_CXX14_CONSTEXPR MDBX_CXX14_CONSTEXPR_VAR \
|
MDBX_CXX14_CONSTEXPR MDBX_CXX14_CONSTEXPR_VAR \
|
||||||
|
4
mdbx.h++
4
mdbx.h++
@ -189,7 +189,9 @@
|
|||||||
|
|
||||||
/** Workaround for old compilers without properly support for C++20 `if
|
/** Workaround for old compilers without properly support for C++20 `if
|
||||||
* constexpr`. */
|
* constexpr`. */
|
||||||
#if defined(__cpp_if_constexpr) && __cpp_if_constexpr >= 201606L
|
#if defined(DOXYGEN)
|
||||||
|
#define MDBX_IF_CONSTEXPR constexpr
|
||||||
|
#elif defined(__cpp_if_constexpr) && __cpp_if_constexpr >= 201606L
|
||||||
#define MDBX_IF_CONSTEXPR constexpr
|
#define MDBX_IF_CONSTEXPR constexpr
|
||||||
#else
|
#else
|
||||||
#define MDBX_IF_CONSTEXPR
|
#define MDBX_IF_CONSTEXPR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user