Skip to content

Commit 8052462

Browse files
author
github-actions
committed
Automatic update from GitHub Actions workflow
1 parent c3d0869 commit 8052462

23 files changed

+73
-58
lines changed

issue2751.html

Lines changed: 6 additions & 1 deletion
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="2751"><a href="lwg-active.html#2751">2751</a>. <code>shared_ptr</code> deleter not specified to observe expired <code>weak_ptr</code> instances</h3>
6666
<p><b>Section:</b> 20.3.2.2.3 <a href="https://wg21.link/util.smartptr.shared.dest">[util.smartptr.shared.dest]</a> <b>Status:</b> <a href="lwg-active.html#New">New</a>
67-
<b>Submitter:</b> Aaron Jacobs <b>Opened:</b> 2016-07-21 <b>Last modified:</b> 2017-10-08</p>
67+
<b>Submitter:</b> Aaron Jacobs <b>Opened:</b> 2016-07-21 <b>Last modified:</b> 2025-03-18</p>
6868
<p><b>Priority: </b>4
6969
</p>
7070
<p><b>View all other</b> <a href="lwg-index.html#util.smartptr.shared.dest">issues</a> in [util.smartptr.shared.dest].</p>
@@ -118,6 +118,11 @@ <h3 id="2751"><a href="lwg-active.html#2751">2751</a>. <code>shared_ptr</code> d
118118
behaviour.
119119
</p>
120120

121+
<p><i>[2025-03-18, Jonathan comments]</i></p>
122+
123+
<p>See also <a href="lwg-closed.html#2907" title="Semantics for destroying the deleter and the control-block of a shared_ptr are unclear (Status: NAD)">2907</a><sup><a href="https://cplusplus.github.io/LWG/issue2907" title="Latest snapshot">(i)</a></sup>.</p>
124+
125+
121126

122127
<p id="res-2751"><b>Proposed resolution:</b></p>
123128

issue2907.html

Lines changed: 2 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#NAD">NAD</a> status.</em></p>
6565
<h3 id="2907"><a href="lwg-closed.html#2907">2907</a>. Semantics for destroying the deleter and the control-block of a <code>shared_ptr</code> are unclear</h3>
6666
<p><b>Section:</b> 20.3.2.2.3 <a href="https://wg21.link/util.smartptr.shared.dest">[util.smartptr.shared.dest]</a> <b>Status:</b> <a href="lwg-active.html#NAD">NAD</a>
67-
<b>Submitter:</b> United States <b>Opened:</b> 2017-02-03 <b>Last modified:</b> 2017-07-15</p>
67+
<b>Submitter:</b> United States <b>Opened:</b> 2017-02-03 <b>Last modified:</b> 2025-03-18</p>
6868
<p><b>Priority: </b>Not Prioritized
6969
</p>
7070
<p><b>View all other</b> <a href="lwg-index.html#util.smartptr.shared.dest">issues</a> in [util.smartptr.shared.dest].</p>
@@ -79,7 +79,7 @@ <h3 id="2907"><a href="lwg-closed.html#2907">2907</a>. Semantics for destroying
7979
but ensuring that <code>d(p)</code> completes before the <code>shared_ptr</code> gives up its weak reference; making a copy of
8080
<code>d</code> in the destructor before manipulating the weak count, and then using this copy to run <code>d(p)</code>, even while
8181
the control-block could be concurrently reclaimed with an expiring <code>weak_ptr</code> in another thread. Note that this
82-
may be related to LWG <a href="lwg-active.html#2751" title="shared_ptr deleter not specified to observe expired weak_ptr instances (Status: New)">2751</a><sup><a href="https://cplusplus.github.io/LWG/issue2751" title="Latest snapshot">(i)</a></sup>. (Also, see the note in 20.11.2.2.10 p1 [util.smartptr.getdeleter])</p>
82+
may be related to LWG <a href="lwg-active.html#2751" title="shared_ptr deleter not specified to observe expired weak_ptr instances (Status: New)">2751</a><sup><a href="https://cplusplus.github.io/LWG/issue2751" title="Latest snapshot">(i)</a></sup>. (Also, see the note in 20.3.2.2.11 <a href="https://wg21.link/util.smartptr.getdeleter">[util.smartptr.getdeleter]</a> p1)</p>
8383

8484
<p>Proposed change: Clarify that the <code>shared_ptr</code> weak ownership of the control block is released at the end of the
8585
destructor, and not as the destructor begins. Otherwise, the deleter might be destroyed even before the destructor gets to

lwg-active.html

Lines changed: 8 additions & 3 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-03-17</td>
70+
<td align="left">2025-03-18</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-03-17 at 15:39:10 UTC
82+
<p>Revised 2025-03-18 at 14:39:06 UTC
8383
</p>
8484
<p>Reference ISO/IEC IS 14882:2020(E)</p>
8585
<p>Also see:</p>
@@ -16831,7 +16831,7 @@ <h3 id="2746"><a href="#2746">2746</a><sup><a href="https://cplusplus.github.io/
1683116831
<hr>
1683216832
<h3 id="2751"><a href="#2751">2751</a><sup><a href="https://cplusplus.github.io/LWG/issue2751">(i)</a></sup>. <code>shared_ptr</code> deleter not specified to observe expired <code>weak_ptr</code> instances</h3>
1683316833
<p><b>Section:</b> 20.3.2.2.3 <a href="https://wg21.link/util.smartptr.shared.dest">[util.smartptr.shared.dest]</a> <b>Status:</b> <a href="lwg-active.html#New">New</a>
16834-
<b>Submitter:</b> Aaron Jacobs <b>Opened:</b> 2016-07-21 <b>Last modified:</b> 2017-10-08</p>
16834+
<b>Submitter:</b> Aaron Jacobs <b>Opened:</b> 2016-07-21 <b>Last modified:</b> 2025-03-18</p>
1683516835
<p><b>Priority: </b>4
1683616836
</p>
1683716837
<p><b>View all other</b> <a href="lwg-index.html#util.smartptr.shared.dest">issues</a> in [util.smartptr.shared.dest].</p>
@@ -16885,6 +16885,11 @@ <h3 id="2751"><a href="#2751">2751</a><sup><a href="https://cplusplus.github.io/
1688516885
behaviour.
1688616886
</p>
1688716887

16888+
<p><i>[2025-03-18, Jonathan comments]</i></p>
16889+
16890+
<p>See also <a href="lwg-closed.html#2907" title="Semantics for destroying the deleter and the control-block of a shared_ptr are unclear (Status: NAD)">2907</a><sup><a href="https://cplusplus.github.io/LWG/issue2907" title="Latest snapshot">(i)</a></sup>.</p>
16891+
16892+
1688816893

1688916894
<p id="res-2751"><b>Proposed resolution:</b></p>
1689016895

lwg-closed.html

Lines changed: 4 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-03-17</td>
70+
<td align="left">2025-03-18</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-03-17 at 15:39:10 UTC
82+
<p>Revised 2025-03-18 at 14:39:06 UTC
8383
</p>
8484
<p>Reference ISO/IEC IS 14882:2020(E)</p>
8585
<p>Also see:</p>
@@ -54014,7 +54014,7 @@ <h3 id="2902"><a href="#2902">2902</a><sup><a href="https://cplusplus.github.io/
5401454014
<hr>
5401554015
<h3 id="2907"><a href="#2907">2907</a><sup><a href="https://cplusplus.github.io/LWG/issue2907">(i)</a></sup>. Semantics for destroying the deleter and the control-block of a <code>shared_ptr</code> are unclear</h3>
5401654016
<p><b>Section:</b> 20.3.2.2.3 <a href="https://wg21.link/util.smartptr.shared.dest">[util.smartptr.shared.dest]</a> <b>Status:</b> <a href="lwg-active.html#NAD">NAD</a>
54017-
<b>Submitter:</b> United States <b>Opened:</b> 2017-02-03 <b>Last modified:</b> 2017-07-15</p>
54017+
<b>Submitter:</b> United States <b>Opened:</b> 2017-02-03 <b>Last modified:</b> 2025-03-18</p>
5401854018
<p><b>Priority: </b>Not Prioritized
5401954019
</p>
5402054020
<p><b>View all other</b> <a href="lwg-index.html#util.smartptr.shared.dest">issues</a> in [util.smartptr.shared.dest].</p>
@@ -54029,7 +54029,7 @@ <h3 id="2907"><a href="#2907">2907</a><sup><a href="https://cplusplus.github.io/
5402954029
but ensuring that <code>d(p)</code> completes before the <code>shared_ptr</code> gives up its weak reference; making a copy of
5403054030
<code>d</code> in the destructor before manipulating the weak count, and then using this copy to run <code>d(p)</code>, even while
5403154031
the control-block could be concurrently reclaimed with an expiring <code>weak_ptr</code> in another thread. Note that this
54032-
may be related to LWG <a href="lwg-active.html#2751" title="shared_ptr deleter not specified to observe expired weak_ptr instances (Status: New)">2751</a><sup><a href="https://cplusplus.github.io/LWG/issue2751" title="Latest snapshot">(i)</a></sup>. (Also, see the note in 20.11.2.2.10 p1 [util.smartptr.getdeleter])</p>
54032+
may be related to LWG <a href="lwg-active.html#2751" title="shared_ptr deleter not specified to observe expired weak_ptr instances (Status: New)">2751</a><sup><a href="https://cplusplus.github.io/LWG/issue2751" title="Latest snapshot">(i)</a></sup>. (Also, see the note in 20.3.2.2.11 <a href="https://wg21.link/util.smartptr.getdeleter">[util.smartptr.getdeleter]</a> p1)</p>
5403354033

5403454034
<p>Proposed change: Clarify that the <code>shared_ptr</code> weak ownership of the control block is released at the end of the
5403554035
destructor, and not as the destructor begins. Otherwise, the deleter might be destroyed even before the destructor gets to

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-03-17</td>
70+
<td align="left">2025-03-18</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-03-17 at 15:39:10 UTC
82+
<p>Revised 2025-03-18 at 14:39:06 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-03-17 at 15:39:10 UTC
65+
<td align="left">Revised 2025-03-18 at 14:39:06 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-03-17 at 15:39:10 UTC
69+
<p>Revised 2025-03-18 at 14:39:06 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-03-17 at 15:39:10 UTC
69+
<p>Revised 2025-03-18 at 14:39:06 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-03-17 at 15:39:10 UTC
65+
<td align="left">Revised 2025-03-18 at 14:39:06 UTC
6666
</td>
6767
</tr>
6868
<tr>

lwg-status-date.html

Lines changed: 19 additions & 19 deletions
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-03-17 at 15:39:10 UTC
70+
<p>Revised 2025-03-18 at 14:39:06 UTC
7171
</p><h2 id="Ready">Ready (7 issues)</h2>
7272
<table class="issues-index">
7373
<tr>
@@ -314,6 +314,15 @@ <h2 id="New">New (464 issues)</h2>
314314
<th>Duplicates</th>
315315
</tr>
316316
<tr>
317+
<td id="2751"><a href="lwg-active.html#2751" title="shared_ptr deleter not specified to observe expired weak_ptr instances (Status: New)">2751</a><sup><a href="https://cplusplus.github.io/LWG/issue2751">(i)</a></sup></td>
318+
<td><a href="lwg-active.html#New">New</a></td>
319+
<td>20.3.2.2.3 [util.smartptr.shared.dest]</td>
320+
<td><code>shared_ptr</code> deleter not specified to observe expired <code>weak_ptr</code> instances</td>
321+
<td><span class="no-pr">No</span></td>
322+
<td>4</td>
323+
<td></td>
324+
</tr>
325+
<tr>
317326
<td id="4121"><a href="lwg-active.html#4121" title="ranges::to constructs associative containers via c.emplace(c.end(), *it) (Status: New)">4121</a><sup><a href="https://cplusplus.github.io/LWG/issue4121">(i)</a></sup></td>
318327
<td><a href="lwg-active.html#New">New</a></td>
319328
<td>25.5.7.1 [range.utility.conv.general]</td>
@@ -4174,15 +4183,6 @@ <h2 id="New">New (464 issues)</h2>
41744183
<td></td>
41754184
</tr>
41764185
<tr>
4177-
<td id="2751"><a href="lwg-active.html#2751" title="shared_ptr deleter not specified to observe expired weak_ptr instances (Status: New)">2751</a><sup><a href="https://cplusplus.github.io/LWG/issue2751">(i)</a></sup></td>
4178-
<td><a href="lwg-active.html#New">New</a></td>
4179-
<td>20.3.2.2.3 [util.smartptr.shared.dest]</td>
4180-
<td><code>shared_ptr</code> deleter not specified to observe expired <code>weak_ptr</code> instances</td>
4181-
<td><span class="no-pr">No</span></td>
4182-
<td>4</td>
4183-
<td></td>
4184-
</tr>
4185-
<tr>
41864186
<td id="2949"><a href="lwg-active.html#2949" title="Unclear complexity requirements: space vs. time (Status: New)">2949</a><sup><a href="https://cplusplus.github.io/LWG/issue2949">(i)</a></sup></td>
41874187
<td><a href="lwg-active.html#New">New</a></td>
41884188
<td>16 [library]</td>
@@ -29111,6 +29111,15 @@ <h2 id="NAD">NAD (449 issues)</h2>
2911129111
<th>Duplicates</th>
2911229112
</tr>
2911329113
<tr>
29114+
<td id="2907"><a href="lwg-closed.html#2907" title="Semantics for destroying the deleter and the control-block of a shared_ptr are unclear (Status: NAD)">2907</a><sup><a href="https://cplusplus.github.io/LWG/issue2907">(i)</a></sup></td>
29115+
<td><a href="lwg-active.html#NAD">NAD</a></td>
29116+
<td>20.3.2.2.3 [util.smartptr.shared.dest]</td>
29117+
<td>Semantics for destroying the deleter and the control-block of a <code>shared_ptr</code> are unclear</td>
29118+
<td>Yes</td>
29119+
<td></td>
29120+
<td></td>
29121+
</tr>
29122+
<tr>
2911429123
<td id="2417"><a href="lwg-closed.html#2417" title="[fund.ts.v2] std::experimental::optional::operator&lt; and LessThanComparable requirement (Status: NAD)">2417</a><sup><a href="https://cplusplus.github.io/LWG/issue2417">(i)</a></sup></td>
2911529124
<td><a href="lwg-active.html#NAD">NAD</a></td>
2911629125
<td>5.7 [fund.ts.v2::optional.relops]</td>
@@ -30222,15 +30231,6 @@ <h2 id="NAD">NAD (449 issues)</h2>
3022230231
<td></td>
3022330232
</tr>
3022430233
<tr>
30225-
<td id="2907"><a href="lwg-closed.html#2907" title="Semantics for destroying the deleter and the control-block of a shared_ptr are unclear (Status: NAD)">2907</a><sup><a href="https://cplusplus.github.io/LWG/issue2907">(i)</a></sup></td>
30226-
<td><a href="lwg-active.html#NAD">NAD</a></td>
30227-
<td>20.3.2.2.3 [util.smartptr.shared.dest]</td>
30228-
<td>Semantics for destroying the deleter and the control-block of a <code>shared_ptr</code> are unclear</td>
30229-
<td>Yes</td>
30230-
<td></td>
30231-
<td></td>
30232-
</tr>
30233-
<tr>
3023430234
<td id="2992"><a href="lwg-closed.html#2992" title="system_category() and error_code::error_code() should be constexpr (Status: NAD)">2992</a><sup><a href="https://cplusplus.github.io/LWG/issue2992">(i)</a></sup></td>
3023530235
<td><a href="lwg-active.html#NAD">NAD</a></td>
3023630236
<td>19.5.3.5 [syserr.errcat.objects]</td>

0 commit comments

Comments
 (0)