Skip to content

Commit 170d6b8

Browse files
author
github-actions
committed
Automatic update from GitHub Actions workflow
1 parent 8fa4ba2 commit 170d6b8

24 files changed

+375
-44
lines changed

issue3049.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ <h3 id="3049"><a href="lwg-active.html#3049">3049</a>. Missing wording allowing
6767
<b>Submitter:</b> Jared Hoberock <b>Opened:</b> 2017-12-04 <b>Last modified:</b> 2022-04-25</p>
6868
<p><b>Priority: </b>3
6969
</p>
70+
<p><b>View other</b> <a href="lwg-index-open.html#algorithms.requirements">active issues</a> in [algorithms.requirements].</p>
7071
<p><b>View all other</b> <a href="lwg-index.html#algorithms.requirements">issues</a> in [algorithms.requirements].</p>
7172
<p><b>View all issues with</b> <a href="lwg-status.html#Open">Open</a> status.</p>
7273
<p><b>Discussion:</b></p>

issue3419.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ <h3 id="3419"><a href="lwg-defects.html#3419">3419</a>. &sect;[algorithms.requir
6767
<b>Submitter:</b> Richard Smith <b>Opened:</b> 2020-03-24 <b>Last modified:</b> 2023-11-22</p>
6868
<p><b>Priority: </b>0
6969
</p>
70+
<p><b>View other</b> <a href="lwg-index-open.html#algorithms.requirements">active issues</a> in [algorithms.requirements].</p>
7071
<p><b>View all other</b> <a href="lwg-index.html#algorithms.requirements">issues</a> in [algorithms.requirements].</p>
7172
<p><b>View all issues with</b> <a href="lwg-status.html#C++23">C++23</a> status.</p>
7273
<p><b>Discussion:</b></p>

issue4277.html

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Issue 4277: &sect;[algorithms.requirements] It is unclear what an algorithm is</title>
6+
<meta property="og:title" content="Issue 4277: &sect;[algorithms.requirements] It is unclear what an algorithm is">
7+
<meta property="og:description" content="C++ library issue. Status: New">
8+
<meta property="og:url" content="https://cplusplus.github.io/LWG/issue4277.html">
9+
<meta property="og:type" content="website">
10+
<meta property="og:image" content="http://cplusplus.github.io/LWG/images/cpp_logo.png">
11+
<meta property="og:image:alt" content="C++ logo">
12+
<style>
13+
p {text-align:justify}
14+
li {text-align:justify}
15+
pre code.backtick::before { content: "`" }
16+
pre code.backtick::after { content: "`" }
17+
blockquote.note
18+
{
19+
background-color:#E0E0E0;
20+
padding-left: 15px;
21+
padding-right: 15px;
22+
padding-top: 1px;
23+
padding-bottom: 1px;
24+
}
25+
ins {background-color:#A0FFA0}
26+
del {background-color:#FFA0A0}
27+
table.issues-index { border: 1px solid; border-collapse: collapse; }
28+
table.issues-index th { text-align: center; padding: 4px; border: 1px solid; }
29+
table.issues-index td { padding: 4px; border: 1px solid; }
30+
table.issues-index td:nth-child(1) { text-align: right; }
31+
table.issues-index td:nth-child(2) { text-align: left; }
32+
table.issues-index td:nth-child(3) { text-align: left; }
33+
table.issues-index td:nth-child(4) { text-align: left; }
34+
table.issues-index td:nth-child(5) { text-align: center; }
35+
table.issues-index td:nth-child(6) { text-align: center; }
36+
table.issues-index td:nth-child(7) { text-align: left; }
37+
table.issues-index td:nth-child(5) span.no-pr { color: red; }
38+
@media (prefers-color-scheme: dark) {
39+
html {
40+
color: #ddd;
41+
background-color: black;
42+
}
43+
ins {
44+
background-color: #225522
45+
}
46+
del {
47+
background-color: #662222
48+
}
49+
a {
50+
color: #6af
51+
}
52+
a:visited {
53+
color: #6af
54+
}
55+
blockquote.note
56+
{
57+
background-color: rgba(255, 255, 255, .10)
58+
}
59+
}
60+
</style>
61+
</head>
62+
<body>
63+
<hr>
64+
<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>
65+
<h3 id="4277"><a href="lwg-active.html#4277">4277</a>. &sect;[algorithms.requirements] It is unclear what an algorithm is</h3>
66+
<p><b>Section:</b> 26.2 <a href="https://wg21.link/algorithms.requirements">[algorithms.requirements]</a> <b>Status:</b> <a href="lwg-active.html#New">New</a>
67+
<b>Submitter:</b> Jan Schultke <b>Opened:</b> 2025-06-08 <b>Last modified:</b> 2025-06-14</p>
68+
<p><b>Priority: </b>Not Prioritized
69+
</p>
70+
<p><b>View other</b> <a href="lwg-index-open.html#algorithms.requirements">active issues</a> in [algorithms.requirements].</p>
71+
<p><b>View all other</b> <a href="lwg-index.html#algorithms.requirements">issues</a> in [algorithms.requirements].</p>
72+
<p><b>View all issues with</b> <a href="lwg-status.html#New">New</a> status.</p>
73+
<p><b>Discussion:</b></p>
74+
<p>
75+
26.2 <a href="https://wg21.link/algorithms.requirements">[algorithms.requirements]</a> paragraph 15 states:
76+
</p>
77+
<blockquote style="border-left: 3px solid #ccc;padding-left: 15px;">
78+
<p>
79+
The well-formedness and behavior of a call to an algorithm with an explicitly-specified
80+
template argument list is unspecified, except where explicitly stated otherwise.
81+
</p>
82+
</blockquote>
83+
<p>
84+
It is unclear what this applies to because "algorithm" is never defined. 26.2 <a href="https://wg21.link/algorithms.requirements">[algorithms.requirements]</a>
85+
paragraph 1 uses the term while mentioning iterators and containers, but [algorithm] specifies
86+
function templates such as <code class='backtick'>std::gcd</code> which do not accept iterators.
87+
<p/>
88+
The <i>Remarks</i> specifications in 26.8.9 <a href="https://wg21.link/alg.min.max">[alg.min.max]</a> providing exemptions from
89+
26.2 <a href="https://wg21.link/algorithms.requirements">[algorithms.requirements]</a> paragraph 15 suggest that even function templates not
90+
accepting iterators are considered algorithms.
91+
</p>
92+
93+
94+
<p id="res-4277"><b>Proposed resolution:</b></p>
95+
<p>
96+
This wording is relative to <a href="https://wg21.link/N5008">N5008</a>.
97+
</p>
98+
99+
<ol>
100+
<li><p>Modify 26.2 <a href="https://wg21.link/algorithms.requirements">[algorithms.requirements]</a> as indicated:</p>
101+
102+
<blockquote>
103+
<p>
104+
-15- The well-formedness and behavior of a call to <del>an algorithm</del><ins>a function template specified in Clause
105+
26 <a href="https://wg21.link/algorithms">[algorithms]</a> (including call operators of algorithm function objects denoted as algorithms throughout Clause
106+
26.2 <a href="https://wg21.link/algorithms.requirements">[algorithms.requirements]</a>)</ins> with an explicitly-specified template argument list is unspecified,
107+
except where explicitly stated otherwise.
108+
<p/>
109+
[<i>Note 3</i>: Consequently, an implementation can declare an algorithm with different template parameters than those
110+
presented. &mdash; <i>end note</i>]
111+
</p>
112+
</blockquote>
113+
</li>
114+
115+
</ol>
116+
117+
118+
119+
120+
121+
</body>
122+
</html>

lwg-active.html

Lines changed: 63 additions & 5 deletions
Large diffs are not rendered by default.

lwg-closed.html

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

lwg-defects.html

Lines changed: 6 additions & 5 deletions
Large diffs are not rendered by default.

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-06-14 at 10:25:20 UTC
65+
<td align="left">Revised 2025-06-14 at 10:41:13 UTC
6666
</td>
6767
</tr>
6868
<tr>

lwg-index-open.html

Lines changed: 12 additions & 3 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-06-14 at 10:25:20 UTC
69+
<p>Revised 2025-06-14 at 10:41:13 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">
@@ -3638,7 +3638,7 @@ <h2 id="Section_25">Section 25 (70 issues)</h2>
36383638
<td></td>
36393639
</tr>
36403640
</table>
3641-
<h2 id="Section_26">Section 26 (36 issues)</h2>
3641+
<h2 id="Section_26">Section 26 (37 issues)</h2>
36423642
<p><a href="lwg-index.html#Section_26">(view all issues)</a></p>
36433643
<table class="issues-index">
36443644
<tr>
@@ -3678,9 +3678,18 @@ <h2 id="Section_26">Section 26 (36 issues)</h2>
36783678
<td></td>
36793679
</tr>
36803680
<tr>
3681+
<td id="4277"><a href="lwg-active.html#4277" title="&sect;[algorithms.requirements] It is unclear what an algorithm is (Status: New)">4277</a><sup><a href="https://cplusplus.github.io/LWG/issue4277">(i)</a></sup></td>
3682+
<td><a href="lwg-active.html#New">New</a></td>
3683+
<td>26.2 [algorithms.requirements]<a id="algorithms.requirements"></a></td>
3684+
<td>&sect;[algorithms.requirements] It is unclear what an algorithm is</td>
3685+
<td>Yes</td>
3686+
<td></td>
3687+
<td></td>
3688+
</tr>
3689+
<tr>
36813690
<td id="3049"><a href="lwg-active.html#3049" title="Missing wording allowing algorithms to use copies of function objects as substitutes for their parameters (Status: Open)">3049</a><sup><a href="https://cplusplus.github.io/LWG/issue3049">(i)</a></sup></td>
36823691
<td><a href="lwg-active.html#Open">Open</a></td>
3683-
<td>26.2 [algorithms.requirements]<a id="algorithms.requirements"></a></td>
3692+
<td>26.2 [algorithms.requirements]</td>
36843693
<td>Missing wording allowing algorithms to use copies of function objects as substitutes for their parameters</td>
36853694
<td>Yes</td>
36863695
<td>3</td>

lwg-index.html

Lines changed: 12 additions & 3 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-06-14 at 10:25:20 UTC
69+
<p>Revised 2025-06-14 at 10:41:13 UTC
7070
</p><h2 id="Section_2">Section 2 (2 issues)</h2>
7171
<table class="issues-index">
7272
<tr>
@@ -18040,7 +18040,7 @@ <h2 id="Section_25">Section 25 (240 issues)</h2>
1804018040
<td></td>
1804118041
</tr>
1804218042
</table>
18043-
<h2 id="Section_26">Section 26 (201 issues)</h2>
18043+
<h2 id="Section_26">Section 26 (202 issues)</h2>
1804418044
<p><a href="lwg-index-open.html#Section_26">(view only non-Ready open issues)</a></p>
1804518045
<table class="issues-index">
1804618046
<tr>
@@ -18161,9 +18161,18 @@ <h2 id="Section_26">Section 26 (201 issues)</h2>
1816118161
<td></td>
1816218162
</tr>
1816318163
<tr>
18164+
<td id="4277"><a href="lwg-active.html#4277" title="&sect;[algorithms.requirements] It is unclear what an algorithm is (Status: New)">4277</a><sup><a href="https://cplusplus.github.io/LWG/issue4277">(i)</a></sup></td>
18165+
<td><a href="lwg-active.html#New">New</a></td>
18166+
<td>26.2 [algorithms.requirements]<a id="algorithms.requirements"></a></td>
18167+
<td>&sect;[algorithms.requirements] It is unclear what an algorithm is</td>
18168+
<td>Yes</td>
18169+
<td></td>
18170+
<td></td>
18171+
</tr>
18172+
<tr>
1816418173
<td id="3049"><a href="lwg-active.html#3049" title="Missing wording allowing algorithms to use copies of function objects as substitutes for their parameters (Status: Open)">3049</a><sup><a href="https://cplusplus.github.io/LWG/issue3049">(i)</a></sup></td>
1816518174
<td><a href="lwg-active.html#Open">Open</a></td>
18166-
<td>26.2 [algorithms.requirements]<a id="algorithms.requirements"></a></td>
18175+
<td>26.2 [algorithms.requirements]</td>
1816718176
<td>Missing wording allowing algorithms to use copies of function objects as substitutes for their parameters</td>
1816818177
<td>Yes</td>
1816918178
<td>3</td>

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-06-14 at 10:25:20 UTC
65+
<td align="left">Revised 2025-06-14 at 10:41:13 UTC
6666
</td>
6767
</tr>
6868
<tr>

0 commit comments

Comments
 (0)