Skip to content

Commit 7ff4e62

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 0ed0cfc commit 7ff4e62

447 files changed

Lines changed: 24571 additions & 2851 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

reference/algorithm.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@
177177
<p class="text-right"><small>
178178
最終更新日時:
179179
<time itemprop="datePublished" class="js-local-time"
180-
datetime="2026-08-25T12:11:17+09:00">
181-
2026年08月25日 12時11分17秒 (JST)
180+
datetime="2026-08-26T16:18:54+09:00">
181+
2026年08月26日 16時18分54秒 (JST)
182182
</time>
183183
<br/>
184184
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -272,12 +272,12 @@ <h3>テンプレートパラメータ名とイテレータ要件</h3>
272272
もちろん、output iterator は常に書き換え可能であるため、この追加の要件は無意味である。</p>
273273
<p>テンプレートパラメータ名が <code>Predicate</code> となっている場合、<code>Predicate</code> の値 <code>pred</code> と、引数として渡すイテレータ <code>i</code> について以下の要件を満たす必要がある</p>
274274
<ul>
275-
<li><code>pred(*i)</code><code>bool</code> として評価できなければならない</li>
275+
<li><code>pred(*i)</code><code>bool</code> へ文脈依存の変換をできなければならない</li>
276276
<li><code>pred(*i)</code> 内で <code>*i</code> を書き変えてはならない。</li>
277277
</ul>
278278
<p>テンプレートパラメータ名が <code>BinaryPredicate</code> となっている場合、<code>BinaryPredicate</code> の値 <code>binary_pred</code> と、引数として渡すイテレータ <code>i1</code>, <code>i2</code> について以下の要件を満たす必要がある</p>
279279
<ul>
280-
<li><code>binary_pred(*i1, *i2)</code><code>bool</code> として評価できなければならない</li>
280+
<li><code>binary_pred(*i1, *i2)</code><code>bool</code> へ文脈依存の変換をできなければならない</li>
281281
<li><code>binary_pred(*i1, *i2)</code> 内で <code>*i1</code><code>*i2</code> を書き変えてはならない。</li>
282282
</ul>
283283
<h3>要素の書き換え操作</h3>
@@ -1562,15 +1562,15 @@ <h2>参照</h2>
15621562
<ul>
15631563
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2930.html" target="_blank">N2930 Range-Based For Loop Wording (Without Concepts)</a></li>
15641564
<li><a href="https://timsong-cpp.github.io/cppwp/n4861/algorithms" target="_blank">N4821 25 Algorithms library</a></li>
1565-
<li>
1566-
<p><a href="https://cplusplus.github.io/LWG/issue4457" target="_blank">LWG Issue 4457. freestanding for <code>stable_sort</code>, <code>stable_partition</code> and <code>inplace_merge</code></a></p>
1565+
<li><a href="https://cplusplus.github.io/LWG/issue556" target="_blank">LWG Issue 556. Is <code>Compare</code> a <code>BinaryPredicate</code>?</a><ul>
1566+
<li>C++11で、<code>Predicate</code><code>BinaryPredicate</code><code>Compare</code><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>の要件が「<code>bool</code>へ文脈依存の変換ができること」に統一された。それ以前は<code>Predicate</code>が「<code>true</code>として検査可能な値」、<code>Compare</code>が「<code>bool</code>へ文脈依存の変換」と揃っておらず、<code>Compare</code><code>BinaryPredicate</code>の要件を満たすかが不明確だった</li>
1567+
</ul>
15671568
</li>
1568-
<li>
1569-
<p><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2976r1.html" target="_blank">P2976R1 Freestanding Library: algorithm, numeric, and random</a></p>
1570-
<ul>
1569+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2976r1.html" target="_blank">P2976R1 Freestanding Library: algorithm, numeric, and random</a><ul>
15711570
<li>C++26で、<code>&lt;algorithm&gt;</code>の大部分(実行ポリシーをとる並列アルゴリズムを除く)がフリースタンディング処理系に対応した</li>
15721571
</ul>
15731572
</li>
1573+
<li><a href="https://cplusplus.github.io/LWG/issue4457" target="_blank">LWG Issue 4457. freestanding for <code>stable_sort</code>, <code>stable_partition</code> and <code>inplace_merge</code></a></li>
15741574
</ul></div>
15751575

15761576
</div>

reference/algorithm/all_of.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,12 @@
189189
<p class="text-right"><small>
190190
最終更新日時:
191191
<time itemprop="datePublished" class="js-local-time"
192-
datetime="2026-04-13T15:17:49+09:00">
193-
2026年04月13日 15時17分49秒 (JST)
192+
datetime="2026-08-26T16:18:05+09:00">
193+
2026年08月26日 16時18分05秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
197-
<span itemprop="name">teruyamato0731</span>
197+
<span itemprop="name">Akira Takahashi</span>
198198
</span>
199199
が更新
200200
</small></p>
@@ -319,6 +319,10 @@ <h2>参照</h2>
319319
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2666.pdf" target="_blank">N2666 More STL algorithms (revision 2)</a></li>
320320
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html" target="_blank">P0202R3 Add Constexpr Modifiers to Functions in <code>&lt;algorithm&gt;</code> and <code>&lt;utility&gt;</code> Headers</a></li>
321321
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0467r2.html" target="_blank">P0467R2 Iterator Concerns for Parallel Algorithms</a></li>
322+
<li><a href="https://cplusplus.github.io/LWG/issue1205" target="_blank">LWG Issue 1205. Some algorithms could more clearly document their handling of empty ranges</a><ul>
323+
<li>C++11で、空の<a class="cpprefjp-defined-word" data-desc="2つのイテレータで表現される半開区間を表す。C++20からイテレータと番兵で異なる型であっても指定可能になる">イテレータ範囲</a>を渡した場合の<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>が明記された</li>
324+
</ul>
325+
</li>
322326
</ul></div>
323327

324328
</div>

reference/algorithm/any_of.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,12 @@
189189
<p class="text-right"><small>
190190
最終更新日時:
191191
<time itemprop="datePublished" class="js-local-time"
192-
datetime="2026-04-13T15:17:49+09:00">
193-
2026年04月13日 15時17分49秒 (JST)
192+
datetime="2026-08-26T16:18:05+09:00">
193+
2026年08月26日 16時18分05秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
197-
<span itemprop="name">teruyamato0731</span>
197+
<span itemprop="name">Akira Takahashi</span>
198198
</span>
199199
が更新
200200
</small></p>
@@ -319,6 +319,10 @@ <h2>参照</h2>
319319
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2666.pdf" target="_blank">N2666 More STL algorithms (revision 2)</a></li>
320320
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html" target="_blank">P0202R3 Add Constexpr Modifiers to Functions in <code>&lt;algorithm&gt;</code> and <code>&lt;utility&gt;</code> Headers</a></li>
321321
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0467r2.html" target="_blank">P0467R2 Iterator Concerns for Parallel Algorithms</a></li>
322+
<li><a href="https://cplusplus.github.io/LWG/issue1205" target="_blank">LWG Issue 1205. Some algorithms could more clearly document their handling of empty ranges</a><ul>
323+
<li>C++11で、空の<a class="cpprefjp-defined-word" data-desc="2つのイテレータで表現される半開区間を表す。C++20からイテレータと番兵で異なる型であっても指定可能になる">イテレータ範囲</a>を渡した場合の<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>が明記された</li>
324+
</ul>
325+
</li>
322326
</ul></div>
323327

324328
</div>

reference/algorithm/copy_backward.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
<p class="text-right"><small>
190190
最終更新日時:
191191
<time itemprop="datePublished" class="js-local-time"
192-
datetime="2026-08-25T12:11:17+09:00">
193-
2026年08月25日 12時11分17秒 (JST)
192+
datetime="2026-08-26T16:18:05+09:00">
193+
2026年08月26日 16時18分05秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -313,6 +313,10 @@ <h2>関連項目</h2>
313313
<h2>参照</h2>
314314
<ul>
315315
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html" target="_blank">P0202R3 Add Constexpr Modifiers to Functions in <code>&lt;algorithm&gt;</code> and <code>&lt;utility&gt;</code> Headers</a></li>
316+
<li><a href="https://cplusplus.github.io/LWG/issue1206" target="_blank">LWG Issue 1206. Incorrect requires for <code>move_backward</code> and <code>copy_backward</code></a><ul>
317+
<li>C++11で、<code>result</code>が含まれてはならない範囲が<code>[first, last)</code>から<code>(first, last]</code>に修正された。後方へコピーする場合に上書きされうるのは<code>last</code>までであり、<code>first</code>は上書きされないため</li>
318+
</ul>
319+
</li>
316320
</ul></div>
317321

318322
</div>

reference/algorithm/find_end.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
<p class="text-right"><small>
190190
最終更新日時:
191191
<time itemprop="datePublished" class="js-local-time"
192-
datetime="2026-08-25T12:11:17+09:00">
193-
2026年08月25日 12時11分17秒 (JST)
192+
datetime="2026-08-26T16:18:05+09:00">
193+
2026年08月26日 16時18分05秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -357,8 +357,12 @@ <h2>関連項目</h2>
357357
</ul>
358358
<h2>参照</h2>
359359
<ul>
360-
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2150" target="_blank">LWG Issue 2150. Unclear specification of <code>find_end</code></a></li>
360+
<li><a href="https://cplusplus.github.io/LWG/issue1205" target="_blank">LWG Issue 1205. Some algorithms could more clearly document their handling of empty ranges</a><ul>
361+
<li>C++11で、空の<a class="cpprefjp-defined-word" data-desc="2つのイテレータで表現される半開区間を表す。C++20からイテレータと番兵で異なる型であっても指定可能になる">イテレータ範囲</a>を渡した場合の<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>が明記された</li>
362+
</ul>
363+
</li>
361364
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html" target="_blank">P0202R3 Add Constexpr Modifiers to Functions in <code>&lt;algorithm&gt;</code> and <code>&lt;utility&gt;</code> Headers</a></li>
365+
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2150" target="_blank">LWG Issue 2150. Unclear specification of <code>find_end</code></a></li>
362366
</ul></div>
363367

364368
</div>

reference/algorithm/find_first_of.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
<p class="text-right"><small>
190190
最終更新日時:
191191
<time itemprop="datePublished" class="js-local-time"
192-
datetime="2026-08-25T12:11:17+09:00">
193-
2026年08月25日 12時11分17秒 (JST)
192+
datetime="2026-08-26T16:18:05+09:00">
193+
2026年08月26日 16時18分05秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -365,6 +365,10 @@ <h2>参照</h2>
365365
</li>
366366
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html" target="_blank">P0202R3 Add Constexpr Modifiers to Functions in <code>&lt;algorithm&gt;</code> and <code>&lt;utility&gt;</code> Headers</a></li>
367367
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0467r2.html" target="_blank">P0467R2 Iterator Concerns for Parallel Algorithms</a></li>
368+
<li><a href="https://cplusplus.github.io/LWG/issue1205" target="_blank">LWG Issue 1205. Some algorithms could more clearly document their handling of empty ranges</a><ul>
369+
<li>C++11で、空の<a class="cpprefjp-defined-word" data-desc="2つのイテレータで表現される半開区間を表す。C++20からイテレータと番兵で異なる型であっても指定可能になる">イテレータ範囲</a>を渡した場合の<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>が明記された</li>
370+
</ul>
371+
</li>
368372
</ul></div>
369373

370374
</div>

reference/algorithm/for_each.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
<p class="text-right"><small>
190190
最終更新日時:
191191
<time itemprop="datePublished" class="js-local-time"
192-
datetime="2026-08-25T12:11:17+09:00">
193-
2026年08月25日 12時11分17秒 (JST)
192+
datetime="2026-08-26T16:18:05+09:00">
193+
2026年08月26日 16時18分05秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -378,6 +378,10 @@ <h2>参照</h2>
378378
<ul>
379379
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html" target="_blank">P0202R3 Add Constexpr Modifiers to Functions in <code>&lt;algorithm&gt;</code> and <code>&lt;utility&gt;</code> Headers</a></li>
380380
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0467r2.html" target="_blank">P0467R2 Iterator Concerns for Parallel Algorithms</a></li>
381+
<li><a href="https://cplusplus.github.io/LWG/issue1110" target="_blank">LWG Issue 1110. Is <code>for_each</code> overconstrained?</a><ul>
382+
<li>C++11で、<code>Function</code>に対する要件がコピー構築可能からムーブ構築可能へ緩和され、<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a><code>std::move(f)</code>と規定された</li>
383+
</ul>
384+
</li>
381385
</ul></div>
382386

383387
</div>

reference/algorithm/is_partitioned.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,12 @@
189189
<p class="text-right"><small>
190190
最終更新日時:
191191
<time itemprop="datePublished" class="js-local-time"
192-
datetime="2026-04-13T15:17:49+09:00">
193-
2026年04月13日 15時17分49秒 (JST)
192+
datetime="2026-08-26T16:18:05+09:00">
193+
2026年08月26日 16時18分05秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
197-
<span itemprop="name">teruyamato0731</span>
197+
<span itemprop="name">Akira Takahashi</span>
198198
</span>
199199
が更新
200200
</small></p>
@@ -337,6 +337,10 @@ <h2>参照</h2>
337337
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2666.pdf" target="_blank">N2666 More STL algorithms (revision 2)</a></li>
338338
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html" target="_blank">P0202R3 Add Constexpr Modifiers to Functions in <code>&lt;algorithm&gt;</code> and <code>&lt;utility&gt;</code> Headers</a></li>
339339
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0467r2.html" target="_blank">P0467R2 Iterator Concerns for Parallel Algorithms</a></li>
340+
<li><a href="https://cplusplus.github.io/LWG/issue1205" target="_blank">LWG Issue 1205. Some algorithms could more clearly document their handling of empty ranges</a><ul>
341+
<li>C++11で、空の<a class="cpprefjp-defined-word" data-desc="2つのイテレータで表現される半開区間を表す。C++20からイテレータと番兵で異なる型であっても指定可能になる">イテレータ範囲</a>を渡した場合の<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>が明記された</li>
342+
</ul>
343+
</li>
340344
</ul></div>
341345

342346
</div>

reference/algorithm/is_permutation.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,12 @@
189189
<p class="text-right"><small>
190190
最終更新日時:
191191
<time itemprop="datePublished" class="js-local-time"
192-
datetime="2026-04-13T15:17:49+09:00">
193-
2026年04月13日 15時17分49秒 (JST)
192+
datetime="2026-08-26T16:18:05+09:00">
193+
2026年08月26日 16時18分05秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
197-
<span itemprop="name">teruyamato0731</span>
197+
<span itemprop="name">Akira Takahashi</span>
198198
</span>
199199
が更新
200200
</small></p>
@@ -446,6 +446,10 @@ <h2>参照</h2>
446446
</ul>
447447
</li>
448448
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html" target="_blank">P0202R3 Add Constexpr Modifiers to Functions in <code>&lt;algorithm&gt;</code> and <code>&lt;utility&gt;</code> Headers</a></li>
449+
<li><a href="https://cplusplus.github.io/LWG/issue1431" target="_blank">LWG Issue 1431. <code>is_permutation</code> must be more restrictive</a><ul>
450+
<li>C++11で、2つの<a class="cpprefjp-defined-word" data-desc="2つのイテレータで表現される半開区間を表す。C++20からイテレータと番兵で異なる型であっても指定可能になる">イテレータ範囲</a>の値型が同じであり、比較関数が同値関係であることが要件に追加された。それ以外の場合は仕様として意味が定まらないため</li>
451+
</ul>
452+
</li>
449453
</ul></div>
450454

451455
</div>

reference/algorithm/merge.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
<p class="text-right"><small>
190190
最終更新日時:
191191
<time itemprop="datePublished" class="js-local-time"
192-
datetime="2026-08-25T12:11:17+09:00">
193-
2026年08月25日 12時11分17秒 (JST)
192+
datetime="2026-08-26T16:18:05+09:00">
193+
2026年08月26日 16時18分05秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -394,6 +394,10 @@ <h2>参照</h2>
394394
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0574r1.html" target="_blank">P0574R1 Algorithm Complexity Constraints and Parallel Overloads</a></li>
395395
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html" target="_blank">P0202R3 Add Constexpr Modifiers to Functions in <code>&lt;algorithm&gt;</code> and <code>&lt;utility&gt;</code> Headers</a></li>
396396
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0467r2.html" target="_blank">P0467R2 Iterator Concerns for Parallel Algorithms</a></li>
397+
<li><a href="https://cplusplus.github.io/LWG/issue780" target="_blank">LWG Issue 780. <code>std::merge()</code> specification incorrect/insufficient</a><ul>
398+
<li>C++11で、効果が「2つの範囲をマージする」という記述から、「全要素をコピーし、結果がソート済みになるようにする」という具体的な記述へ改められ、入力範囲がソート済みであることが<a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成する要素の1つ。Preconditions。関数呼び出し時に満たされていると関数が想定する条件。満たさなければ未定義の動作。契約属性の`[[expects]]`に相当">事前条件</a>として明記された</li>
399+
</ul>
400+
</li>
397401
</ul></div>
398402

399403
</div>

0 commit comments

Comments
 (0)