mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 02:04:12 +08:00
mdbx++: remove preliminary
label from C++ API.
This commit is contained in:
parent
739e02655e
commit
0265c847b8
@ -2,7 +2,7 @@
|
||||
|
||||
> Please refer to the online [documentation](https://erthink.github.io/libmdbx/)
|
||||
> with [`C` API description](https://erthink.github.io/libmdbx/group__c__api.html)
|
||||
> and pay attention to the preliminary [`C++` API](https://github.com/erthink/libmdbx/blob/devel/mdbx.h%2B%2B).
|
||||
> and pay attention to the [`C++` API](https://github.com/erthink/libmdbx/blob/devel/mdbx.h%2B%2B).
|
||||
>
|
||||
> Questions, feedback and suggestions are welcome to the [Telegram' group](https://t.me/libmdbx).
|
||||
>
|
||||
|
17
mdbx.h++
17
mdbx.h++
@ -1,15 +1,16 @@
|
||||
/// \file mdbx.h++
|
||||
/// \brief The libmdbx C++ API header file (preliminary).
|
||||
/// \brief The libmdbx C++ API header file.
|
||||
///
|
||||
/// \author Copyright (c) 2020-2021, Leonid Yuriev <leo@yuriev.ru>.
|
||||
/// \copyright SPDX-License-Identifier: Apache-2.0
|
||||
///
|
||||
/// Tested with:
|
||||
/// - LCC >= 1.23 (http://www.mcst.ru/lcc),
|
||||
/// - GNU C++ >= 4.8,
|
||||
/// - clang >= 4.0,
|
||||
/// - MSVC >= 19.0 (Visual Studio 2015),
|
||||
/// but 19.2x could hang due optimizer bug.
|
||||
/// - Elbrus LCC >= 1.23 (http://www.mcst.ru/lcc);
|
||||
/// - GNU C++ >= 4.8;
|
||||
/// - clang >= 3.9;
|
||||
/// - MSVC >= 14.0 (Visual Studio 2015),
|
||||
/// but 19.2x could hang due optimizer bug;
|
||||
/// - AppleClang, but without C++20 concepts.
|
||||
///
|
||||
|
||||
#pragma once
|
||||
@ -19,7 +20,7 @@
|
||||
#error "C++11 compiler or better is required"
|
||||
#elif _MSC_VER >= 1910
|
||||
#error \
|
||||
"Please add ` /Zc:__cplusplus` to MSVC compiler options to enforce it conform ISO C++"
|
||||
"Please add `/Zc:__cplusplus` to MSVC compiler options to enforce it conform ISO C++"
|
||||
#endif /* MSVC is mad and don't define __cplusplus properly */
|
||||
#endif /* __cplusplus < 201103L */
|
||||
|
||||
@ -3949,7 +3950,7 @@ inline ::std::ostream &operator<<(::std::ostream &out,
|
||||
|
||||
//==============================================================================
|
||||
//
|
||||
// Inline body of the libmdbx C++ API (preliminary draft)
|
||||
// Inline body of the libmdbx C++ API
|
||||
//
|
||||
|
||||
MDBX_CXX11_CONSTEXPR const version_info &get_version() noexcept {
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Copyright (c) 2020-2021, Leonid Yuriev <leo@yuriev.ru>.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
// Non-inline part of the libmdbx C++ API (preliminary)
|
||||
// Non-inline part of the libmdbx C++ API
|
||||
//
|
||||
|
||||
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user