8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:43:02 +01:00
firebird-mirror/doc/README.modern_cpp.md

12 lines
461 B
Markdown
Raw Normal View History

2016-09-02 15:10:35 +02:00
# Modern C++ features
2021-05-31 13:55:26 +02:00
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.
2016-09-02 15:10:35 +02:00
2021-05-31 13:55:26 +02:00
Only ones mentioned in this document could be used, but as necessities appears, discussion should be started in the devel list or pull requests.
2016-09-02 15:10:35 +02:00
## Allowed features
2021-05-31 13:55:26 +02:00
### C++17
2016-09-02 15:10:35 +02:00
2021-05-31 13:55:26 +02:00
- [if with init-statement](https://en.cppreference.com/w/cpp/language/if)