Skip to content

Commit 28fd98a

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 36ae16d commit 28fd98a

165 files changed

Lines changed: 15640 additions & 5080 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/clamp.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-24T16:04:46+09:00">
193+
2026年08月24日 16時04分46秒 (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>
@@ -312,6 +312,10 @@ <h2>参照</h2>
312312
<ul>
313313
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4536.html" target="_blank">N4536 An algorithm to "clamp" a value between a pair of boundary values</a></li>
314314
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0025r0.html" target="_blank">P0025R0 An algorithm to "clamp" a value between a pair of boundary values (revision 1)</a></li>
315+
<li><a href="https://cplusplus.github.io/LWG/issue2688" target="_blank">LWG Issue 2688. <code>clamp</code> misses preconditions and has extraneous condition on result</a><ul>
316+
<li>C++17で、<a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成する要素の1つ。Preconditions。関数呼び出し時に満たされていると関数が想定する条件。満たさなければ未定義の動作。契約属性の`[[expects]]`に相当">事前条件</a><code>low</code><code>high</code>より大きくてはならない)が追加され、<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>の規定が整理された</li>
317+
</ul>
318+
</li>
315319
</ul></div>
316320

317321
</div>

reference/algorithm/sample.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-07-22T16:08:23+09:00">
193-
2026年07月22日 16時08分23秒 (JST)
192+
datetime="2026-08-24T16:05:25+09:00">
193+
2026年08月24日 16時05分25秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
197-
<span itemprop="name">rotarymars</span>
197+
<span itemprop="name">Akira Takahashi</span>
198198
</span>
199199
が更新
200200
</small></p>
@@ -353,6 +353,10 @@ <h2>参照</h2>
353353
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4531.html" target="_blank">N4531 <code>std::rand</code> replacement, revision 3</a></li>
354354
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0220r0.html" target="_blank">P0220R0 Adopt Library Fundamentals TS for C++17</a></li>
355355
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0220r1.html" target="_blank">P0220R1 Adopt Library Fundamentals V1 TS Components for C++17 (R1)</a></li>
356+
<li><a href="https://cplusplus.github.io/LWG/issue2716" target="_blank">LWG Issue 2716. Specification of <code>shuffle</code> and <code>sample</code> disallows lvalue URNGs</a><ul>
357+
<li>C++17で、乱数生成器の要件が<code>remove_reference_t</code>を通して判定されるよう整理され、左辺値の乱数生成器を渡せることが明確化された</li>
358+
</ul>
359+
</li>
356360
</ul></div>
357361

358362
</div>

reference/algorithm/shuffle.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-07-30T20:04:07+09:00">
193-
2026年07月30日 20時04分07秒 (JST)
192+
datetime="2026-08-24T16:05:34+09:00">
193+
2026年08月24日 16時05分34秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
197-
<span itemprop="name">rotarymars</span>
197+
<span itemprop="name">Akira Takahashi</span>
198198
</span>
199199
が更新
200200
</small></p>
@@ -342,6 +342,10 @@ <h2>関連項目</h2>
342342
</ul>
343343
<h2>参照</h2>
344344
<ul>
345+
<li><a href="https://cplusplus.github.io/LWG/issue2716" target="_blank">LWG Issue 2716. Specification of <code>shuffle</code> and <code>sample</code> disallows lvalue URNGs</a><ul>
346+
<li>C++17で、乱数生成器の要件が<code>remove_reference_t</code>を通して判定されるよう整理され、左辺値の乱数生成器を渡せることが明確化された</li>
347+
</ul>
348+
</li>
345349
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0346r1.pdf" target="_blank">P0346R1 A <code>&lt;random&gt;</code> Nomenclature Tweak</a><ul>
346350
<li>URNGをURBGに変更</li>
347351
</ul>

reference/algorithm/sort_heap.html

Lines changed: 8 additions & 4 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-24T16:05:52+09:00">
193+
2026年08月24日 16時05分52秒 (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>
@@ -274,7 +274,7 @@ <h2>効果</h2>
274274
<h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a></h2>
275275
<p>なし</p>
276276
<h2><a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成する要素の1つ。Complexity。関数が使うアルゴリズムの空間計算量・時間計算量">計算量</a></h2>
277-
<p>最大で N log(N) 回比較する(N == <code>last - first</code></p>
277+
<p>最大で 2N log(N) 回比較する(N == <code>last - first</code></p>
278278
<h2></h2>
279279
<p><div class="yata" id="92d404e248f53d619ab21229fcdde8f2da0acb2e"><div class="codehilite"><pre><span></span><code><span class="cp">#include <a href="../iostream.html">&lt;iostream&gt;</a></span>
280280
<span class="cp">#include <a href="../vector.html">&lt;vector&gt;</a></span>
@@ -306,6 +306,10 @@ <h2>関連項目</h2>
306306
<h2>参照</h2>
307307
<ul>
308308
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0879r0.html" target="_blank">P0879R0 Constexpr for <code>swap</code> and <code>swap</code> related functions</a></li>
309+
<li><a href="https://cplusplus.github.io/LWG/issue2444" target="_blank">LWG Issue 2444. Inconsistent complexity for <code>std::sort_heap</code></a><ul>
310+
<li><a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成する要素の1つ。Complexity。関数が使うアルゴリズムの空間計算量・時間計算量">計算量</a>の上限が「N log(N)回」から「2N log(N)回」に修正された(<code>sort_heap</code>はN回の<code>pop_heap</code>を行うため)。この修正は欠陥報告(DR)であり、C++17にも遡及して適用される</li>
311+
</ul>
312+
</li>
309313
</ul></div>
310314

311315
</div>

reference/any/any/emplace.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@
201201
<p class="text-right"><small>
202202
最終更新日時:
203203
<time itemprop="datePublished" class="js-local-time"
204-
datetime="2026-08-12T14:55:11+09:00">
205-
2026年08月12日 14時55分11秒 (JST)
204+
datetime="2026-08-24T16:06:16+09:00">
205+
2026年08月24日 16時06分16秒 (JST)
206206
</time>
207207
<br/>
208208
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -344,6 +344,10 @@ <h2>参照</h2>
344344
<li>C++26で、<code>emplace</code>の制約が<code>Requires</code>(ハードエラー)から<code>Constraints</code>(SFINAE)に統一された(cpprefjpでは「<a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成する要素の1つ。Constraints。関数であればオーバーロード解決に参加するための条件、それ以外であれば受け付ける型の条件">テンプレートパラメータ制約</a>」として記載済み)</li>
345345
</ul>
346346
</li>
347+
<li><a href="https://cplusplus.github.io/LWG/issue2754" target="_blank">LWG Issue 2754. The <code>in_place</code> constructors and <code>emplace</code> functions added by P0032R3 don't require <code>CopyConstructible</code></a><ul>
348+
<li>C++17で、<code>emplace</code>に、格納する型がコピー構築可能であることの要件が追加された</li>
349+
</ul>
350+
</li>
347351
</ul></div>
348352

349353
</div>

reference/any/any/op_constructor.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,12 @@
201201
<p class="text-right"><small>
202202
最終更新日時:
203203
<time itemprop="datePublished" class="js-local-time"
204-
datetime="2026-08-09T00:38:00+09:00">
205-
2026年08月09日 00時38分00秒 (JST)
204+
datetime="2026-08-24T16:06:16+09:00">
205+
2026年08月24日 16時06分16秒 (JST)
206206
</time>
207207
<br/>
208208
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
209-
<span itemprop="name">rotarymars</span>
209+
<span itemprop="name">Akira Takahashi</span>
210210
</span>
211211
が更新
212212
</small></p>
@@ -381,6 +381,17 @@ <h3>処理系</h3>
381381
<li><a href="../../../implementation.html#gcc">GCC</a>: 7.3 <span aria-label="検証済" role="img" title="検証済"></span></li>
382382
<li><a href="../../../implementation.html#icc">ICC</a>: ??</li>
383383
<li><a href="../../../implementation.html#visual_cpp">Visual C++</a>: ??</li>
384+
</ul>
385+
<h2>参照</h2>
386+
<ul>
387+
<li><a href="https://cplusplus.github.io/LWG/issue2744" target="_blank">LWG Issue 2744. <code>any</code>'s <code>in_place</code> constructors</a><ul>
388+
<li>C++17で、<code>in_place_type_t</code>を取るコンストラクタの<code>is_constructible</code>要件が<a class="cpprefjp-defined-word" data-desc="関数呼び出し時に、同名の関数の中から実際に呼び出す関数を決定する処理。このときの候補になることを、オーバーロード解決に参加するという">オーバーロード解決</a>参加条件(SFINAE)へ変更され、<code>any</code>に対する<code>is_constructible</code>問い合わせが正しい結果を返すようになった</li>
389+
</ul>
390+
</li>
391+
<li><a href="https://cplusplus.github.io/LWG/issue2754" target="_blank">LWG Issue 2754. The <code>in_place</code> constructors and <code>emplace</code> functions added by P0032R3 don't require <code>CopyConstructible</code></a><ul>
392+
<li>C++17で、<code>in_place_type_t</code>を取るコンストラクタに、格納する型がコピー構築可能であることの要件が追加された</li>
393+
</ul>
394+
</li>
384395
</ul></div>
385396

386397
</div>

reference/any/any_cast.html

Lines changed: 11 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-07-22T11:09:53+09:00">
193-
2026年07月22日 11時09分53秒 (JST)
192+
datetime="2026-08-24T16:06:34+09:00">
193+
2026年08月24日 16時06分34秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
197-
<span itemprop="name">rotarymars</span>
197+
<span itemprop="name">Akira Takahashi</span>
198198
</span>
199199
が更新
200200
</small></p>
@@ -380,6 +380,14 @@ <h3>処理系</h3>
380380
</ul>
381381
<h2>参照</h2>
382382
<ul>
383+
<li><a href="https://cplusplus.github.io/LWG/issue2768" target="_blank">LWG Issue 2768. <code>any_cast</code> and move semantics</a><ul>
384+
<li>C++17で、<code>any_cast(any&amp;&amp;)</code>版がムーブによる取り出しや右辺値参照の取得を行えるよう規定された(LWG 2769の解決に取り込まれた)</li>
385+
</ul>
386+
</li>
387+
<li><a href="https://cplusplus.github.io/LWG/issue2769" target="_blank">LWG Issue 2769. Redundant const in the return type of <code>any_cast(const any&amp;)</code></a><ul>
388+
<li>C++17で、<code>any_cast</code><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>規定から冗長な<code>const</code>付与を除き、<code>U = remove_cv_t&lt;remove_reference_t&lt;ValueType&gt;&gt;</code><code>static_cast&lt;ValueType&gt;</code>を用いる形へ整理された(一時オブジェクトへの<a class="cpprefjp-defined-word" data-desc="dangling。寿命が尽きた無効なオブジェクトやメモリ領域を、ポインタ・参照・イテレータなどが指し続けている状態のこと。これらにアクセスすると未定義の動作を引き起こす">ダングリング</a>参照取得も防止)</li>
389+
</ul>
390+
</li>
383391
<li><a href="https://cplusplus.github.io/LWG/issue3305" target="_blank">LWG Issue 3305. <code>any_cast&lt;void&gt;</code></a></li>
384392
</ul></div>
385393

reference/array/array.html

Lines changed: 14 additions & 4 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="2025-07-12T02:16:44+09:00">
193-
2025年07月12日 02時16分44秒 (JST)
192+
datetime="2026-08-24T16:21:24+09:00">
193+
2026年08月24日 16時21分24秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
197-
<span itemprop="name">Koichi Murase</span>
197+
<span itemprop="name">Akira Takahashi</span>
198198
</span>
199199
が更新
200200
</small></p>
@@ -630,7 +630,17 @@ <h2>関連項目</h2>
630630
<ul>
631631
<li><a href="../../lang/cpp14/brace_elision_in_array_temporary_initialization.html">C++14 宣言時のメンバ初期化を持つ型の集成体初期化を許可</a></li>
632632
</ul>
633-
<h2>参照</h2></div>
633+
<h2>参照</h2>
634+
<ul>
635+
<li><a href="https://cplusplus.github.io/LWG/issue2590" target="_blank">LWG Issue 2590. Aggregate initialization for <code>std::array</code></a><ul>
636+
<li>C++17で、<code>array</code>がコピーリスト初期化に限らず集成体初期化一般で初期化できることが明確化された(<code>std::array&lt;int, 1&gt; a{0};</code>のような直接波カッコ初期化も<a class="cpprefjp-defined-word" data-desc="プログラムが文法規則・診断対象の意味規則・単一定義規則を満たすこと" href="../../implementation-compliance.html#dfn-well-formed">適格</a></li>
637+
</ul>
638+
</li>
639+
<li><a href="https://cplusplus.github.io/LWG/issue2310" target="_blank">LWG Issue 2310. Public exposition only member in <code>std::array</code></a><ul>
640+
<li>C++17で、<code>array</code>が集成体であることを示す説明専用メンバ(<code>elems</code>)がpublicである旨が明確化され、<code>data()</code>の規定が<code>addressof(front())</code>を用いる形に整理された</li>
641+
</ul>
642+
</li>
643+
</ul></div>
634644

635645
</div>
636646
</div>

reference/cassert/assert.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-12T15:28:39+09:00">
193-
2026年08月12日 15時28分39秒 (JST)
192+
datetime="2026-08-24T16:21:39+09:00">
193+
2026年08月24日 16時21分39秒 (JST)
194194
</time>
195195
<br/>
196196
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -347,6 +347,10 @@ <h2>参照</h2>
347347
<li><a href="https://groups.google.com/a/isocpp.org/d/topic/std-discussion/6EHDRo1A2EE/discussion" target="_blank">What does it mean for C++ that assert takes a scalar argument?</a>
348348
パラメータの式の型についての要件は参照規格であるCの規定によるものであり、「スカラ型」が<a href="../type_traits/is_scalar.html">C++におけるスカラ型</a>となるのか、あるいはCにおけるスカラ型の範囲に限定されるのか、少なくともC++14時点でははっきりしていない。</li>
349349
<li><a href="http://wg21.cmeerw.net/lwg/issue2234" target="_blank">LWG Issue 2234. <code>assert()</code> should allow usage in constant expressions</a></li>
350+
<li><a href="https://cplusplus.github.io/LWG/issue2559" target="_blank">LWG Issue 2559. Error in LWG 2234's resolution</a><ul>
351+
<li>C++17で、<code>assert(E)</code>が定数部分式となる条件を、<code>assert</code>が最後に定義/再定義された時点の<code>NDEBUG</code>の状態で判定するよう修正された</li>
352+
</ul>
353+
</li>
350354
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2264r7.html" target="_blank">P2264R7 Make <code>assert()</code> macro user friendly for C and C++</a><ul>
351355
<li>C++26から、カンマを含む式を条件式として使用できるようになった</li>
352356
</ul>

reference/chrono/time_point/op_minus.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,12 @@
201201
<p class="text-right"><small>
202202
最終更新日時:
203203
<time itemprop="datePublished" class="js-local-time"
204-
datetime="2025-07-12T02:16:44+09:00">
205-
2025年07月12日 02時16分44秒 (JST)
204+
datetime="2026-08-24T16:22:12+09:00">
205+
2026年08月24日 16時22分12秒 (JST)
206206
</time>
207207
<br/>
208208
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
209-
<span itemprop="name">Koichi Murase</span>
209+
<span itemprop="name">Akira Takahashi</span>
210210
</span>
211211
が更新
212212
</small></p>
@@ -285,9 +285,9 @@ <h2>概要</h2>
285285
</ul>
286286
<h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a></h2>
287287
<ul>
288-
<li>(1)</li>
288+
<li>(1) : <a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>の型を<code>CT</code>として、</li>
289289
</ul>
290-
<p><div class="codehilite"><pre><span></span><code><span class="k">return</span><span class="w"> </span><span class="n">lhs</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="p">(</span><span class="o">-</span><span class="n">rhs</span><span class="p">);</span>
290+
<p><div class="codehilite"><pre><span></span><code><span class="k">return</span><span class="w"> </span><span class="n">CT</span><span class="p">(</span><span class="n">lhs</span><span class="p">.</span><span class="n"><a href="time_since_epoch.html">time_since_epoch</a></span><span class="p">()</span><span class="w"> </span><span class="o">-</span><span class="w"> </span><span class="n">rhs</span><span class="p">);</span>
291291
</code></pre></div>
292292
</p>
293293
<ul>
@@ -337,6 +337,10 @@ <h3>処理系</h3>
337337
<h2>参照</h2>
338338
<ul>
339339
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3469.html" target="_blank">N3469 Constexpr Library Additions: chrono, v3</a></li>
340+
<li><a href="https://cplusplus.github.io/LWG/issue2739" target="_blank">LWG Issue 2739. Issue with <code>time_point</code> non-member subtraction with an <code>unsigned</code> duration</a><ul>
341+
<li>C++17で、(1)の<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a><code>CT(lhs.time_since_epoch() - rhs)</code>に変更され、符号なし<code>duration</code>で負符号化による予期しないオーバーフローが起きないようになった</li>
342+
</ul>
343+
</li>
340344
</ul></div>
341345

342346
</div>

0 commit comments

Comments
 (0)