This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Immediate status.
Section: 17.3.2 [version.syn] Status: Immediate Submitter: Tomasz KamiĆski Opened: 2025-11-03 Last modified: 2025-11-04
Priority: Not Prioritized
View other active issues in [version.syn].
View all other issues in [version.syn].
View all issues with Immediate status.
Discussion:
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.
[Kona 2025-11-04; approved by LWG. Status changed: New → Immediate.]
Proposed resolution:
This wording is relative to N5014.
Modify 17.3.2 [version.syn] 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>