Skip to content

Commit 80e07a9

Browse files
committed
New issue to address US 65-116: Forward declarations of entities need also in entries
1 parent 4aaba2f commit 80e07a9

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

xml/issue4440.xml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?xml version='1.0' encoding='utf-8' standalone='no'?>
2+
<!DOCTYPE issue SYSTEM "lwg-issue.dtd">
3+
4+
<issue num="4440" status="New">
5+
<title>Forward declarations of entities need also in entries</title>
6+
<section>
7+
<sref ref="[version.syn]"/>
8+
</section>
9+
<submitter>Tomasz Kamiński</submitter>
10+
<date>03 Nov 2025</date>
11+
<priority>99</priority>
12+
13+
<discussion>
14+
<b>US 65-116</b>
15+
<p>
16+
There are forward declarations of entities from <tt>&lt;spanstream&gt;</tt> and
17+
<tt>&lt;syncstream&gt;</tt> in <tt>&lt;iosfwd&gt;</tt> so their feature macros
18+
should be added to that header too. Proposed change: Add <tt>&lt;iosfwd&gt;</tt>
19+
to the "also in" entries for `__cpp_lib_char8_t`, `__cpp_lib_spanstream`, and
20+
`__cpp_lib_syncbuf`.
21+
</p>
22+
</discussion>
23+
24+
<resolution>
25+
<p>
26+
This wording is relative to <paper num="N5014"/>.
27+
</p>
28+
29+
<ol>
30+
31+
<li><p>Modify <sref ref="[version.syn]"/> as indicated:</p>
32+
33+
<blockquote>
34+
<pre>
35+
#define __cpp_lib_char8_t 201907L
36+
// freestanding, also in &lt;atomic&gt;, &lt;filesystem&gt;, <ins>&lt;iosfwd&gt;,</ins> &lt;istream&gt;, &lt;limits&gt;, &lt;locale&gt;, &lt;ostream&gt;, &lt;string&gt;,
37+
// &lt;string_view&gt;
38+
[&hellip;]
39+
#define __cpp_lib_spanstream 202106L // also in <ins>&lt;iosfwd&gt;,</ins> &lt;spanstream&gt;
40+
[&hellip;]
41+
#define __cpp_lib_syncbuf 201803L // also in <ins>&lt;iosfwd&gt;,</ins> &lt;syncstream&gt;
42+
</pre>
43+
</blockquote>
44+
</li>
45+
46+
</ol>
47+
48+
</resolution>
49+
50+
</issue>

0 commit comments

Comments
 (0)