mdbx++: remove preliminary label from C++ API.

This commit is contained in:
Leonid Yuriev 2021-12-09 02:10:08 +03:00
parent 739e02655e
commit 0265c847b8
3 changed files with 11 additions and 10 deletions

View File

@ -2,7 +2,7 @@
> Please refer to the online [documentation](https://erthink.github.io/libmdbx/) > Please refer to the online [documentation](https://erthink.github.io/libmdbx/)
> with [`C` API description](https://erthink.github.io/libmdbx/group__c__api.html) > 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). > Questions, feedback and suggestions are welcome to the [Telegram' group](https://t.me/libmdbx).
> >

View File

@ -1,15 +1,16 @@
/// \file mdbx.h++ /// \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>. /// \author Copyright (c) 2020-2021, Leonid Yuriev <leo@yuriev.ru>.
/// \copyright SPDX-License-Identifier: Apache-2.0 /// \copyright SPDX-License-Identifier: Apache-2.0
/// ///
/// Tested with: /// Tested with:
/// - LCC >= 1.23 (http://www.mcst.ru/lcc), /// - Elbrus LCC >= 1.23 (http://www.mcst.ru/lcc);
/// - GNU C++ >= 4.8, /// - GNU C++ >= 4.8;
/// - clang >= 4.0, /// - clang >= 3.9;
/// - MSVC >= 19.0 (Visual Studio 2015), /// - MSVC >= 14.0 (Visual Studio 2015),
/// but 19.2x could hang due optimizer bug. /// but 19.2x could hang due optimizer bug;
/// - AppleClang, but without C++20 concepts.
/// ///
#pragma once #pragma once
@ -19,7 +20,7 @@
#error "C++11 compiler or better is required" #error "C++11 compiler or better is required"
#elif _MSC_VER >= 1910 #elif _MSC_VER >= 1910
#error \ #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 /* MSVC is mad and don't define __cplusplus properly */
#endif /* __cplusplus < 201103L */ #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 { MDBX_CXX11_CONSTEXPR const version_info &get_version() noexcept {

View File

@ -2,7 +2,7 @@
// Copyright (c) 2020-2021, Leonid Yuriev <leo@yuriev.ru>. // Copyright (c) 2020-2021, Leonid Yuriev <leo@yuriev.ru>.
// SPDX-License-Identifier: Apache-2.0 // 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) #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)