diff --git a/doc/README.modern_cpp.md b/doc/README.modern_cpp.md index 0d367aa2d4..936cc611a3 100644 --- a/doc/README.modern_cpp.md +++ b/doc/README.modern_cpp.md @@ -1,11 +1,12 @@ # Modern C++ features -We define here as "modern C++" features the ones introduced since C++17. These features should be used in a "controlled" form in Firebird code, as not all compilers fully support them. +It's allowed to use in Firebird internal code C++ features up to and including C++17. -Only ones mentioned in this document could be used, but as necessities appears, discussion should be started in the devel list or pull requests. +Public files (as API headers) is limited to C++11. + +Exceptions to these rules should be listed below and must be agreed by the team, +discussing in the devel list or by pull request. ## Allowed features -### C++17 - -- [if with init-statement](https://en.cppreference.com/w/cpp/language/if) +### C++20 diff --git a/doc/Using_OO_API.html b/doc/Using_OO_API.html index 6cd1eca49a..a59b05ef5f 100644 --- a/doc/Using_OO_API.html +++ b/doc/Using_OO_API.html @@ -1604,7 +1604,7 @@ ISomePlugin implementation
private:
IPluginConfig* config;
-FbSampleAtomic
+ std::atomic_int
refCounter; IReferenceCounted*
owner;
void setCursorName(StatusType* status, const char* name) – replaces - isc_dsql_set_cursor_name(). + isc_dsql_set_cursor_name().
void free(StatusType* status) – free statement, releases interface on @@ -3817,4 +3817,4 @@ release of it.