Title
Forward declarations of entities need also in entries
Status
wp
Section
[version.syn]
Submitter
Tomasz Kamiński

Created on 2025-11-03.00:00:00 last changed 1 week ago

Messages

Date: 2025-11-11.10:48:55

Proposed resolution:

This wording is relative to N5014.

  1. Modify [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>
    
Date: 2025-11-11.10:48:55

[ Kona 2025-11-08; Status changed: Immediate → WP. ]

Date: 2025-11-04.19:35:06

[ Kona 2025-11-04; approved by LWG. Status changed: New → Immediate. ]

Date: 2025-11-03.00:00:00
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`.

History
Date User Action Args
2025-11-11 10:48:55adminsetmessages: + msg15693
2025-11-11 10:48:55adminsetstatus: immediate -> wp
2025-11-04 19:35:06adminsetmessages: + msg15494
2025-11-04 19:35:06adminsetstatus: new -> immediate
2025-11-03 20:56:21adminsetmessages: + msg15481
2025-11-03 00:00:00admincreate