From 80e07a95f2012521e1649799a781836ff39f3b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Kami=C5=84ski?= Date: Mon, 3 Nov 2025 21:31:47 +0100 Subject: [PATCH 1/2] New issue to address US 65-116: Forward declarations of entities need also in entries --- xml/issue4440.xml | 50 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 xml/issue4440.xml diff --git a/xml/issue4440.xml b/xml/issue4440.xml new file mode 100644 index 0000000000..d5c00c4f0f --- /dev/null +++ b/xml/issue4440.xml @@ -0,0 +1,50 @@ + + + + +Forward declarations of entities need also in entries +
+ +
+Tomasz KamiƄski +03 Nov 2025 +99 + + +US 65-116 +

+There are forward declarations of entities from <spanstream> and +<syncstream> in <iosfwd> so their feature macros +should be added to that header too. Proposed change: Add <iosfwd> +to the "also in" entries for `__cpp_lib_char8_t`, `__cpp_lib_spanstream`, and +`__cpp_lib_syncbuf`. +

+
+ + +

+This wording is relative to . +

+ +
    + +
  1. Modify as indicated:

    + +
    +
    +#define __cpp_lib_char8_t                           201907L
    +  // freestanding, also in <atomic>, <filesystem>, <iosfwd>, <istream>, <limits>, <locale>, <ostream>, <string>,
    +  // <string_view>
    +[…]
    +#define __cpp_lib_spanstream                        202106L // also in <iosfwd>, <spanstream>
    +[…]
    +#define __cpp_lib_syncbuf                           201803L // also in <iosfwd>, <syncstream>
    +
    +
    +
  2. + +
+ +
+ +
From 6f45f94a4dc5edaa36cc6db21f8276e35f37a74a Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 3 Nov 2025 20:55:35 +0000 Subject: [PATCH 2/2] Update xml/issue4440.xml --- xml/issue4440.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/issue4440.xml b/xml/issue4440.xml index d5c00c4f0f..882f21a029 100644 --- a/xml/issue4440.xml +++ b/xml/issue4440.xml @@ -11,7 +11,7 @@ 99 -US 65-116 +Addresses US 65-116

There are forward declarations of entities from <spanstream> and <syncstream> in <iosfwd> so their feature macros