Skip to content

Commit 8e33af9

Browse files
committed
Jonathan adds proposed resolution to 3696
1 parent 53daaf2 commit 8e33af9

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

xml/issue3696.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,46 @@ So I think we should just use "signed integer types" instead of "signed basic in
3131
Set priority to 3 after reflector poll.
3232
</p>
3333

34+
<note>2025-06-16; Jonathan adds wording</note>
35+
3436
</discussion>
3537

3638
<resolution>
39+
<p>
40+
This wording is relative to <paper num="N5008"/>.
41+
</p>
42+
43+
<ol>
44+
<li><p>Modify <sref ref="[stream.types]"/> as indicated:</p>
45+
46+
<blockquote>
47+
<pre>using streamoff = implementation-defined;</pre>
48+
<p>
49+
-1- The type `streamoff` is a synonym for one of the
50+
signed <del>basic</del> integral types
51+
of sufficient size to represent the maximum possible file size
52+
for the operating system.<sup>256</sup>
53+
</p>
54+
<pre>using streamsize = implementation-defined;</pre>
55+
<p>
56+
-2-
57+
The type `streamsize` is a synonym for one of the
58+
signed <del>basic</del> integral types.
59+
It is used to represent the number of characters transferred
60+
in an I/O operation, or the size of I/O buffers.<sup>257</sup>
61+
</p>
62+
63+
<p>
64+
256) Typically `long long`.
65+
</p>
66+
<p>
67+
257) Most places where `streamsize` is used would use `size_t` in C,
68+
or `ssize_t` in POSIX.
69+
</p>
70+
</blockquote>
71+
</li>
72+
</ol>
73+
3774
</resolution>
3875

3976
</issue>

0 commit comments

Comments
 (0)