diff options
| author | Leitwolf11 | 2026-10-31 13:01:04 +0300 |
|---|---|---|
| committer | Leitwolf11 | 2026-10-31 13:01:04 +0300 |
| commit | 1f5458322669301f62599c1ec5dacb77b5dc2d8d (patch) | |
| tree | 7e32402fa9c06014328a27d7972c2fb1a9484352 /Guide/C-INTERFACES.md | |
| parent | 8d1fb4807edc7920fbecd0554c9c61625827e19c (diff) | |
| download | progmasoft-cpp-docs/cpp17-and-cpp20.tar.gz | |
Cover C++17 as well as C++20docs/cpp17-and-cpp20
A project now picks one version. C++20 stays the default, and C++17 is
for libraries meant for other people's projects, because it is still the
widest common target and works in every later standard.
Section 5.13 gives the C++17 form of each C++20 feature the guide uses
and the checks such a project needs: CI in the versions it promises, with
each compiler, and headers that compile in default compiler modes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'Guide/C-INTERFACES.md')
| -rw-r--r-- | Guide/C-INTERFACES.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Guide/C-INTERFACES.md b/Guide/C-INTERFACES.md index 3fc7b60..2def35e 100644 --- a/Guide/C-INTERFACES.md +++ b/Guide/C-INTERFACES.md @@ -4,7 +4,7 @@ # 10. C interfaces A C interface is the stable binary boundary of a library: what another language, another compiler or another version of -the library links against. It is written in C11 and kept small; everything behind it is C++20. +the library links against. It is written in C11 and kept small; everything behind it is C++. ## 10.1 The header @@ -83,7 +83,7 @@ example_parser_destroy(example_parser *parser); ## 10.4 The C++ side -Behind the interface, the implementation is ordinary C++20 that follows the rest of this guide: +Behind the interface, the implementation is ordinary C++ that follows the rest of this guide: ```cpp extern "C" auto |