Skip to content

Commit a9c806b

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

22 files changed

+182
-53
lines changed

issue3678.html

Lines changed: 44 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="3678"><a href="lwg-active.html#3678">3678</a>. Constructors of <code>std::chrono::time_zone</code> might be overly unspecified</h3>
6666
<p><b>Section:</b> 30.11.5.1 <a href="https://wg21.link/time.zone.overview">[time.zone.overview]</a> <b>Status:</b> <a href="lwg-active.html#New">New</a>
67-
<b>Submitter:</b> Jiang An <b>Opened:</b> 2022-02-23 <b>Last modified:</b> 2022-03-04</p>
67+
<b>Submitter:</b> Jiang An <b>Opened:</b> 2022-02-23 <b>Last modified:</b> 2025-03-19</p>
6868
<p><b>Priority: </b>4
6969
</p>
7070
<p><b>View all issues with</b> <a href="lwg-status.html#New">New</a> status.</p>
@@ -88,9 +88,52 @@ <h3 id="3678"><a href="lwg-active.html#3678">3678</a>. Constructors of <code>std
8888
Set priority to 4 after reflector poll.
8989
</p>
9090

91+
<p><i>[2025-03-18; Jonathan provides wording]</i></p>
92+
93+
<p>
94+
I don't think it matters whether they are trivial or constexpr, because they
95+
cannot be used. Users only have access to <code class='backtick'>const time_zone</code> lvalues via
96+
<code class='backtick'>locate_zone</code> and the <code class='backtick'>tzdb::zones</code> container.
97+
The move constructor and move assignment operator only need to exist so that
98+
the implementation can populate that container.
99+
</p>
100+
91101

92102

93103
<p id="res-3678"><b>Proposed resolution:</b></p>
104+
<p>
105+
This wording is relative to <a href="https://wg21.link/N5001">N5001</a>.
106+
</p>
107+
108+
<ol>
109+
<li><p>Modify 30.11.5.1 <a href="https://wg21.link/time.zone.overview">[time.zone.overview]</a> as indicated:</p>
110+
<blockquote><pre><code>
111+
namespace std::chrono {
112+
class time_zone {
113+
<ins>time_zone(<i>unspecified</i>);</ins>
114+
public:
115+
time_zone(time_zone&amp;&amp;) = default;
116+
time_zone&amp; operator=(time_zone&amp;&amp;) = default;
117+
118+
<del><i>// unspecified additional constructors</i></del>
119+
120+
<i>[...]</i>
121+
};
122+
}</code></pre></blockquote>
123+
<p>-1-
124+
A <code class='backtick'>time_zone</code> represents all time zone transitions for a specific geographic
125+
area.
126+
<code class='backtick'>time_zone</code> construction is unspecified, and performed
127+
<ins>only</ins>
128+
as part of database initialization.
129+
</p>
130+
<p>
131+
[<i>Note 1</i>:
132+
<code class='backtick'>const time_zone</code> objects can be accessed via functions such as <code class='backtick'>locate_zone</code>.
133+
&mdash; <i>end note</i>]
134+
</p>
135+
</li>
136+
</ol>
94137

95138

96139

lwg-active.html

Lines changed: 46 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-18</td>
70+
<td align="left">2025-03-19</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-18 at 14:39:06 UTC
82+
<p>Revised 2025-03-19 at 11:58:32 UTC
8383
</p>
8484
<p>Reference ISO/IEC IS 14882:2020(E)</p>
8585
<p>Also see:</p>
@@ -40253,7 +40253,7 @@ <h3 id="3675"><a href="#3675">3675</a><sup><a href="https://cplusplus.github.io/
4025340253
<hr>
4025440254
<h3 id="3678"><a href="#3678">3678</a><sup><a href="https://cplusplus.github.io/LWG/issue3678">(i)</a></sup>. Constructors of <code>std::chrono::time_zone</code> might be overly unspecified</h3>
4025540255
<p><b>Section:</b> 30.11.5.1 <a href="https://wg21.link/time.zone.overview">[time.zone.overview]</a> <b>Status:</b> <a href="lwg-active.html#New">New</a>
40256-
<b>Submitter:</b> Jiang An <b>Opened:</b> 2022-02-23 <b>Last modified:</b> 2022-03-04</p>
40256+
<b>Submitter:</b> Jiang An <b>Opened:</b> 2022-02-23 <b>Last modified:</b> 2025-03-19</p>
4025740257
<p><b>Priority: </b>4
4025840258
</p>
4025940259
<p><b>View all issues with</b> <a href="lwg-status.html#New">New</a> status.</p>
@@ -40277,9 +40277,52 @@ <h3 id="3678"><a href="#3678">3678</a><sup><a href="https://cplusplus.github.io/
4027740277
Set priority to 4 after reflector poll.
4027840278
</p>
4027940279

40280+
<p><i>[2025-03-18; Jonathan provides wording]</i></p>
40281+
40282+
<p>
40283+
I don't think it matters whether they are trivial or constexpr, because they
40284+
cannot be used. Users only have access to <code class='backtick'>const time_zone</code> lvalues via
40285+
<code class='backtick'>locate_zone</code> and the <code class='backtick'>tzdb::zones</code> container.
40286+
The move constructor and move assignment operator only need to exist so that
40287+
the implementation can populate that container.
40288+
</p>
40289+
4028040290

4028140291

4028240292
<p id="res-3678"><b>Proposed resolution:</b></p>
40293+
<p>
40294+
This wording is relative to <a href="https://wg21.link/N5001">N5001</a>.
40295+
</p>
40296+
40297+
<ol>
40298+
<li><p>Modify 30.11.5.1 <a href="https://wg21.link/time.zone.overview">[time.zone.overview]</a> as indicated:</p>
40299+
<blockquote><pre><code>
40300+
namespace std::chrono {
40301+
class time_zone {
40302+
<ins>time_zone(<i>unspecified</i>);</ins>
40303+
public:
40304+
time_zone(time_zone&amp;&amp;) = default;
40305+
time_zone&amp; operator=(time_zone&amp;&amp;) = default;
40306+
40307+
<del><i>// unspecified additional constructors</i></del>
40308+
40309+
<i>[...]</i>
40310+
};
40311+
}</code></pre></blockquote>
40312+
<p>-1-
40313+
A <code class='backtick'>time_zone</code> represents all time zone transitions for a specific geographic
40314+
area.
40315+
<code class='backtick'>time_zone</code> construction is unspecified, and performed
40316+
<ins>only</ins>
40317+
as part of database initialization.
40318+
</p>
40319+
<p>
40320+
[<i>Note 1</i>:
40321+
<code class='backtick'>const time_zone</code> objects can be accessed via functions such as <code class='backtick'>locate_zone</code>.
40322+
&mdash; <i>end note</i>]
40323+
</p>
40324+
</li>
40325+
</ol>
4028340326

4028440327

4028540328

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

lwg-index-open.html

Lines changed: 2 additions & 2 deletions
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-18 at 14:39:06 UTC
69+
<p>Revised 2025-03-19 at 11:58:32 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">
@@ -4693,7 +4693,7 @@ <h2 id="Section_30">Section 30 (18 issues)</h2>
46934693
<td><a href="lwg-active.html#New">New</a></td>
46944694
<td>30.11.5.1 [time.zone.overview]<a id="time.zone.overview"></a></td>
46954695
<td>Constructors of <code>std::chrono::time_zone</code> might be overly unspecified</td>
4696-
<td><span class="no-pr">No</span></td>
4696+
<td>Yes</td>
46974697
<td>4</td>
46984698
<td></td>
46994699
</tr>

lwg-index.html

Lines changed: 2 additions & 2 deletions
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-18 at 14:39:06 UTC
69+
<p>Revised 2025-03-19 at 11:58:32 UTC
7070
</p><h2 id="Section_2">Section 2 (2 issues)</h2>
7171
<table class="issues-index">
7272
<tr>
@@ -25656,7 +25656,7 @@ <h2 id="Section_30">Section 30 (92 issues)</h2>
2565625656
<td><a href="lwg-active.html#New">New</a></td>
2565725657
<td>30.11.5.1 [time.zone.overview]<a id="time.zone.overview"></a></td>
2565825658
<td>Constructors of <code>std::chrono::time_zone</code> might be overly unspecified</td>
25659-
<td><span class="no-pr">No</span></td>
25659+
<td>Yes</td>
2566025660
<td>4</td>
2566125661
<td></td>
2566225662
</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-18 at 14:39:06 UTC
65+
<td align="left">Revised 2025-03-19 at 11:58:32 UTC
6666
</td>
6767
</tr>
6868
<tr>

lwg-status-date.html

Lines changed: 10 additions & 10 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-18 at 14:39:06 UTC
70+
<p>Revised 2025-03-19 at 11:58:32 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="3678"><a href="lwg-active.html#3678" title="Constructors of std::chrono::time_zone might be overly unspecified (Status: New)">3678</a><sup><a href="https://cplusplus.github.io/LWG/issue3678">(i)</a></sup></td>
318+
<td><a href="lwg-active.html#New">New</a></td>
319+
<td>30.11.5.1 [time.zone.overview]</td>
320+
<td>Constructors of <code>std::chrono::time_zone</code> might be overly unspecified</td>
321+
<td>Yes</td>
322+
<td>4</td>
323+
<td></td>
324+
</tr>
325+
<tr>
317326
<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>
318327
<td><a href="lwg-active.html#New">New</a></td>
319328
<td>20.3.2.2.3 [util.smartptr.shared.dest]</td>
@@ -2862,15 +2871,6 @@ <h2 id="New">New (464 issues)</h2>
28622871
<td></td>
28632872
</tr>
28642873
<tr>
2865-
<td id="3678"><a href="lwg-active.html#3678" title="Constructors of std::chrono::time_zone might be overly unspecified (Status: New)">3678</a><sup><a href="https://cplusplus.github.io/LWG/issue3678">(i)</a></sup></td>
2866-
<td><a href="lwg-active.html#New">New</a></td>
2867-
<td>30.11.5.1 [time.zone.overview]</td>
2868-
<td>Constructors of <code>std::chrono::time_zone</code> might be overly unspecified</td>
2869-
<td><span class="no-pr">No</span></td>
2870-
<td>4</td>
2871-
<td></td>
2872-
</tr>
2873-
<tr>
28742874
<td id="3675"><a href="lwg-active.html#3675" title="std::ios_base::iword/pword might be misspecified (Status: New)">3675</a><sup><a href="https://cplusplus.github.io/LWG/issue3675">(i)</a></sup></td>
28752875
<td><a href="lwg-active.html#New">New</a></td>
28762876
<td>31.5.2.6 [ios.base.storage]</td>

lwg-status.html

Lines changed: 2 additions & 2 deletions
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-03-18 at 14:39:06 UTC
65+
<p>Revised 2025-03-19 at 11:58:32 UTC
6666
</p><h2 id="Ready">Ready (7 issues)</h2>
6767
<table class="issues-index">
6868
<tr>
@@ -3815,7 +3815,7 @@ <h2 id="New">New (464 issues)</h2>
38153815
<td><a href="lwg-active.html#New">New</a></td>
38163816
<td>30.11.5.1 [time.zone.overview]</td>
38173817
<td>Constructors of <code>std::chrono::time_zone</code> might be overly unspecified</td>
3818-
<td><span class="no-pr">No</span></td>
3818+
<td>Yes</td>
38193819
<td>4</td>
38203820
<td></td>
38213821
</tr>

0 commit comments

Comments
 (0)