diff --git a/xml/issue4440.xml b/xml/issue4440.xml new file mode 100644 index 0000000000..882f21a029 --- /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 + + +Addresses 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. + +
+ +
+ +