Skip to content

Commit 89e52c7

Browse files
author
github-actions
committed
Automatic update from GitHub Actions workflow
1 parent 97631f9 commit 89e52c7

22 files changed

+195
-30
lines changed

issue4243.html

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<p><em>This page is a snapshot from the LWG issues list, see the <a href="lwg-active.html">Library Active Issues List</a> for more information and the meaning of <a href="lwg-active.html#New">New</a> status.</em></p>
6565
<h3 id="4243"><a href="lwg-active.html#4243">4243</a>. <code class='backtick'>as_bytes</code>/<code class='backtick'>as_writable_bytes</code> is broken with <code>span&lt;volatile T&gt;</code></h3>
6666
<p><b>Section:</b> 23.7.2.3 <a href="https://wg21.link/span.objectrep">[span.objectrep]</a> <b>Status:</b> <a href="lwg-active.html#New">New</a>
67-
<b>Submitter:</b> Hewill Kang <b>Opened:</b> 2025-04-12 <b>Last modified:</b> 2025-04-13</p>
67+
<b>Submitter:</b> Hewill Kang <b>Opened:</b> 2025-04-12 <b>Last modified:</b> 2025-04-21</p>
6868
<p><b>Priority: </b>Not Prioritized
6969
</p>
7070
<p><b>View all issues with</b> <a href="lwg-status.html#New">New</a> status.</p>
@@ -84,8 +84,9 @@ <h3 id="4243"><a href="lwg-active.html#4243">4243</a>. <code class='backtick'>as
8484
}
8585
</pre></blockquote>
8686

87+
<p><strong>Previous resolution [SUPERSEDED]:</strong></p>
88+
<blockquote class="note">
8789

88-
<p id="res-4243"><b>Proposed resolution:</b></p>
8990
<p>
9091
This wording is relative to <a href="https://wg21.link/N5008">N5008</a>.
9192
</p>
@@ -154,6 +155,60 @@ <h3 id="4243"><a href="lwg-active.html#4243">4243</a>. <code class='backtick'>as
154155
</li>
155156

156157
</ol>
158+
</blockquote>
159+
160+
<p><i>[2025-04-16; Hewill Kang provides alternative wording]</i></p>
161+
162+
<p>
163+
Based on reflector feedback, the revised wording just improves the current state of not supporting
164+
support for <code class='backtick'>volatile</code>.
165+
</p>
166+
167+
168+
<p id="res-4243"><b>Proposed resolution:</b></p>
169+
<p>
170+
This wording is relative to <a href="https://wg21.link/N5008">N5008</a>.
171+
</p>
172+
173+
<ol>
174+
175+
<li><p>Modify 23.7.2.3 <a href="https://wg21.link/span.objectrep">[span.objectrep]</a> as indicated:</p>
176+
177+
<blockquote>
178+
<pre>
179+
template&lt;class ElementType, size_t Extent&gt;
180+
span&lt;const byte, Extent == dynamic_extent ? dynamic_extent : sizeof(ElementType) * Extent&gt;
181+
as_bytes(span&lt;ElementType, Extent&gt; s) noexcept;
182+
</pre>
183+
<blockquote>
184+
<p>
185+
<ins>-?- <i>Constraints</i>: <code>is_volatile_v&lt;ElementType&gt;</code> is <code class='backtick'>false</code>.</ins>
186+
</p>
187+
<p>
188+
-1- <i>Effects</i>: Equivalent to: <code>return R{reinterpret_cast&lt;const byte*&gt;(s.data()), s.size_bytes()};</code><br/>
189+
where <code>R</code> is the return type.
190+
</p>
191+
</blockquote>
192+
<pre>
193+
template&lt;class ElementType, size_t Extent&gt;
194+
span&lt;byte, Extent == dynamic_extent ? dynamic_extent : sizeof(ElementType) * Extent&gt;
195+
as_writable_bytes(span&lt;ElementType, Extent&gt; s) noexcept;
196+
</pre>
197+
<blockquote>
198+
<p>
199+
-2- <i>Constraints</i>: <code>is_const_v&lt;ElementType&gt;</code> is <code class='backtick'>false</code> <ins>and
200+
<code>is_volatile_v&lt;ElementType&gt;</code> is <code class='backtick'>false</code></ins>.
201+
</p>
202+
<p>
203+
-3- <i>Effects</i>: Equivalent to: <code>return R{reinterpret_cast&lt;byte*&gt;(s.data()), s.size_bytes()};</code><br/>
204+
where <code class='backtick'>R</code> is the return type.
205+
</p>
206+
</blockquote>
207+
</blockquote>
208+
209+
</li>
210+
211+
</ol>
157212

158213

159214

lwg-active.html

Lines changed: 59 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
</tr>
6868
<tr>
6969
<td align="left">Date:</td>
70-
<td align="left">2025-04-13</td>
70+
<td align="left">2025-04-21</td>
7171
</tr>
7272
<tr>
7373
<td align="left">Project:</td>
@@ -79,7 +79,7 @@
7979
</tr>
8080
</table>
8181
<h1>C++ Standard Library Active Issues List (Revision D125)</h1>
82-
<p>Revised 2025-04-13 at 12:45:17 UTC
82+
<p>Revised 2025-04-21 at 09:45:59 UTC
8383
</p>
8484
<p>Reference ISO/IEC IS 14882:2020(E)</p>
8585
<p>Also see:</p>
@@ -73004,7 +73004,7 @@ <h3 id="4242"><a href="#4242">4242</a><sup><a href="https://cplusplus.github.io/
7300473004
<hr>
7300573005
<h3 id="4243"><a href="#4243">4243</a><sup><a href="https://cplusplus.github.io/LWG/issue4243">(i)</a></sup>. <code class='backtick'>as_bytes</code>/<code class='backtick'>as_writable_bytes</code> is broken with <code>span&lt;volatile T&gt;</code></h3>
7300673006
<p><b>Section:</b> 23.7.2.3 <a href="https://wg21.link/span.objectrep">[span.objectrep]</a> <b>Status:</b> <a href="lwg-active.html#New">New</a>
73007-
<b>Submitter:</b> Hewill Kang <b>Opened:</b> 2025-04-12 <b>Last modified:</b> 2025-04-13</p>
73007+
<b>Submitter:</b> Hewill Kang <b>Opened:</b> 2025-04-12 <b>Last modified:</b> 2025-04-21</p>
7300873008
<p><b>Priority: </b>Not Prioritized
7300973009
</p>
7301073010
<p><b>View all issues with</b> <a href="lwg-status.html#New">New</a> status.</p>
@@ -73024,8 +73024,9 @@ <h3 id="4243"><a href="#4243">4243</a><sup><a href="https://cplusplus.github.io/
7302473024
}
7302573025
</pre></blockquote>
7302673026

73027+
<p><strong>Previous resolution [SUPERSEDED]:</strong></p>
73028+
<blockquote class="note">
7302773029

73028-
<p id="res-4243"><b>Proposed resolution:</b></p>
7302973030
<p>
7303073031
This wording is relative to <a href="https://wg21.link/N5008">N5008</a>.
7303173032
</p>
@@ -73094,6 +73095,60 @@ <h3 id="4243"><a href="#4243">4243</a><sup><a href="https://cplusplus.github.io/
7309473095
</li>
7309573096

7309673097
</ol>
73098+
</blockquote>
73099+
73100+
<p><i>[2025-04-16; Hewill Kang provides alternative wording]</i></p>
73101+
73102+
<p>
73103+
Based on reflector feedback, the revised wording just improves the current state of not supporting
73104+
support for <code class='backtick'>volatile</code>.
73105+
</p>
73106+
73107+
73108+
<p id="res-4243"><b>Proposed resolution:</b></p>
73109+
<p>
73110+
This wording is relative to <a href="https://wg21.link/N5008">N5008</a>.
73111+
</p>
73112+
73113+
<ol>
73114+
73115+
<li><p>Modify 23.7.2.3 <a href="https://wg21.link/span.objectrep">[span.objectrep]</a> as indicated:</p>
73116+
73117+
<blockquote>
73118+
<pre>
73119+
template&lt;class ElementType, size_t Extent&gt;
73120+
span&lt;const byte, Extent == dynamic_extent ? dynamic_extent : sizeof(ElementType) * Extent&gt;
73121+
as_bytes(span&lt;ElementType, Extent&gt; s) noexcept;
73122+
</pre>
73123+
<blockquote>
73124+
<p>
73125+
<ins>-?- <i>Constraints</i>: <code>is_volatile_v&lt;ElementType&gt;</code> is <code class='backtick'>false</code>.</ins>
73126+
</p>
73127+
<p>
73128+
-1- <i>Effects</i>: Equivalent to: <code>return R{reinterpret_cast&lt;const byte*&gt;(s.data()), s.size_bytes()};</code><br/>
73129+
where <code>R</code> is the return type.
73130+
</p>
73131+
</blockquote>
73132+
<pre>
73133+
template&lt;class ElementType, size_t Extent&gt;
73134+
span&lt;byte, Extent == dynamic_extent ? dynamic_extent : sizeof(ElementType) * Extent&gt;
73135+
as_writable_bytes(span&lt;ElementType, Extent&gt; s) noexcept;
73136+
</pre>
73137+
<blockquote>
73138+
<p>
73139+
-2- <i>Constraints</i>: <code>is_const_v&lt;ElementType&gt;</code> is <code class='backtick'>false</code> <ins>and
73140+
<code>is_volatile_v&lt;ElementType&gt;</code> is <code class='backtick'>false</code></ins>.
73141+
</p>
73142+
<p>
73143+
-3- <i>Effects</i>: Equivalent to: <code>return R{reinterpret_cast&lt;byte*&gt;(s.data()), s.size_bytes()};</code><br/>
73144+
where <code class='backtick'>R</code> is the return type.
73145+
</p>
73146+
</blockquote>
73147+
</blockquote>
73148+
73149+
</li>
73150+
73151+
</ol>
7309773152

7309873153

7309973154

lwg-closed.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
</tr>
6868
<tr>
6969
<td align="left">Date:</td>
70-
<td align="left">2025-04-13</td>
70+
<td align="left">2025-04-21</td>
7171
</tr>
7272
<tr>
7373
<td align="left">Project:</td>
@@ -79,7 +79,7 @@
7979
</tr>
8080
</table>
8181
<h1>C++ Standard Library Closed Issues List (Revision D125)</h1>
82-
<p>Revised 2025-04-13 at 12:45:17 UTC
82+
<p>Revised 2025-04-21 at 09:45:59 UTC
8383
</p>
8484
<p>Reference ISO/IEC IS 14882:2020(E)</p>
8585
<p>Also see:</p>

lwg-defects.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
</tr>
6868
<tr>
6969
<td align="left">Date:</td>
70-
<td align="left">2025-04-13</td>
70+
<td align="left">2025-04-21</td>
7171
</tr>
7272
<tr>
7373
<td align="left">Project:</td>
@@ -79,7 +79,7 @@
7979
</tr>
8080
</table>
8181
<h1>C++ Standard Library Defect Reports and Accepted Issues (Revision D125)</h1>
82-
<p>Revised 2025-04-13 at 12:45:17 UTC
82+
<p>Revised 2025-04-21 at 09:45:59 UTC
8383
</p>
8484
<p>Reference ISO/IEC IS 14882:2020(E)</p>
8585
<p>Also see:</p>

lwg-immediate.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h1>C++ Standard Library Issues Resolved Directly In [INSERT CURRENT MEETING HER
6262
</tr>
6363
<tr>
6464
<td align="left">Date:</td>
65-
<td align="left">Revised 2025-04-13 at 12:45:17 UTC
65+
<td align="left">Revised 2025-04-21 at 09:45:59 UTC
6666
</td>
6767
</tr>
6868
<tr>

lwg-index-open.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h1>Index by Section</h1>
6666
<p>This document is the Index by Section for the <a href="lwg-active.html">Library Active Issues List</a>.</p>
6767
<h2>Index by Section (non-Ready active issues only)</h2>
6868
<p><a href="lwg-index.html">(view all issues)</a></p>
69-
<p>Revised 2025-04-13 at 12:45:17 UTC
69+
<p>Revised 2025-04-21 at 09:45:59 UTC
7070
</p><h2 id="Section_3">Section 3 (2 issues)</h2>
7171
<p><a href="lwg-index.html#Section_3">(view all issues)</a></p>
7272
<table class="issues-index">

lwg-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h1>Index by Section</h1>
6666
<p>This document is the Index by Section for the <a href="lwg-active.html">Library Active Issues List</a>, <a href="lwg-defects.html">Library Defect Reports and Accepted Issues</a>, and <a href="lwg-closed.html">Library Closed Issues List</a>.</p>
6767
<h2>Index by Section</h2>
6868
<p><a href="lwg-index-open.html">(view only non-Ready open issues)</a></p>
69-
<p>Revised 2025-04-13 at 12:45:17 UTC
69+
<p>Revised 2025-04-21 at 09:45:59 UTC
7070
</p><h2 id="Section_2">Section 2 (2 issues)</h2>
7171
<table class="issues-index">
7272
<tr>

lwg-ready.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h1>C++ Standard Library Issues to be moved in [INSERT CURRENT MEETING HERE]</h1
6262
</tr>
6363
<tr>
6464
<td align="left">Date:</td>
65-
<td align="left">Revised 2025-04-13 at 12:45:17 UTC
65+
<td align="left">Revised 2025-04-21 at 09:45:59 UTC
6666
</td>
6767
</tr>
6868
<tr>

lwg-status-date.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ <h1>Index by Status and Date</h1>
6767
This document is the Index by Status and Date for the <a href="lwg-active.html">Library Active Issues List</a>,
6868
<a href="lwg-defects.html">Library Defect Reports and Accepted Issues</a>, and <a href="lwg-closed.html">Library Closed Issues List</a>.
6969
</p>
70-
<p>Revised 2025-04-13 at 12:45:17 UTC
70+
<p>Revised 2025-04-21 at 09:45:59 UTC
7171
</p><h2 id="Ready">Ready (7 issues)</h2>
7272
<table class="issues-index">
7373
<tr>

lwg-status.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h1>Index by Status and Section</h1>
6262
<a href="lwg-defects.html">Library Defect Reports and Accepted Issues</a>, and <a href="lwg-closed.html">Library Closed Issues List</a>.
6363
</p>
6464

65-
<p>Revised 2025-04-13 at 12:45:17 UTC
65+
<p>Revised 2025-04-21 at 09:45:59 UTC
6666
</p><h2 id="Ready">Ready (7 issues)</h2>
6767
<table class="issues-index">
6868
<tr>

0 commit comments

Comments
 (0)