Skip to content

Commit 1d7834e

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 96d2c05 commit 1d7834e

39 files changed

+2954
-5631
lines changed

lang/cpp11/static_assert.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-07-08T07:33:21">
192-
2024年07月08日 07時33分21秒
191+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
192+
2024年12月05日 02時54分34秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -238,9 +238,11 @@ <h2>仕様</h2>
238238
<li>この宣言は、名前空間スコープ、ブロックスコープ、メンバ宣言といった場所で記述できる</li>
239239
<li>定数式が真であると評価された場合は何も効果がない。定数式が偽であると評価された場合は、指定された文字列リテラルを含む<a class="cpprefjp-defined-word" data-desc="診断情報。コンパイルエラーや警告。処理系がプログラム翻訳時に提供する情報の総称" href="../../implementation-compliance.html#dfn-diagnostic-message">診断メッセージ</a>がコンパイラによって問題報告される。ただし、基本ソース文字集合に含まれない文字集合は、<a class="cpprefjp-defined-word" data-desc="診断情報。コンパイルエラーや警告。処理系がプログラム翻訳時に提供する情報の総称" href="../../implementation-compliance.html#dfn-diagnostic-message">診断メッセージ</a>に表示することはコンパイラに要求されない</li>
240240
<li><code>static_assert</code>宣言では、新たな型やオブジェクトは宣言しない。また、実行時にサイズや時間コストは発生しない</li>
241-
<li>(CWG 2518が適用された環境): template文(もしくは適切な特殊化や<a href="../cpp17/if_constexpr.html">C++17 constexpr if 文</a>の中の文)が実際にインスタンス化されるまで、<code>static_assert</code>文の宣言は遅延される。</li>
241+
<li>(CWG 2518が適用された環境): template文(もしくは適切な特殊化や<a href="../cpp17/if_constexpr.html">C++17 constexpr if 文</a>の中の文)が実際にインスタンス化されるまで、<code>static_assert</code>文の宣言は遅延される。<ul>
242242
<li><a href="../cpp17/if_constexpr.html">C++17 constexpr if 文</a>の解説を参照</li>
243243
</ul>
244+
</li>
245+
</ul>
244246
<h2></h2>
245247
<p><div class="yata" id="51bef4336d48e5e1d98e2092bc804ed411c3328a"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../../reference/type_traits.html">&lt;type_traits&gt;</a></span><span class="cp"></span>
246248

lang/cpp17/guaranteed_copy_elision.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-07-08T07:33:21">
192-
2024年07月08日 07時33分21秒
191+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
192+
2024年12月05日 02時54分34秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -243,8 +243,8 @@ <h2>仕様</h2>
243243
</ul>
244244
<p>これより、上の例は「クラス<code>prvalue</code>でメンバアクセスを実行するとき」にあたり、<code>xvalue</code>として一時オブジェクトを生成している。</p>
245245
<p>また、<code>prvalue</code>から<code>prvalue</code>への変換は、上記の「一時オブジェクトの実体化は一般に可能な限り遅らせられる」ことより、一時オブジェクトを実体化しない。よって、次の例における<code>prvalue</code><code>T</code>型の戻り値は、呼び出し元の<code>t</code>を直接初期化する。</p>
246-
<p><div class="codehilite"><pre><span></span><code> <span class="n">T</span> <span class="nf">Func</span><span class="p">()</span> <span class="p">{</span><span class="k">return</span> <span class="n">T</span><span class="p">();}</span>
247-
<span class="n">T</span> <span class="n">t</span> <span class="o">=</span> <span class="n">Func</span><span class="p">();</span> <span class="c1">// 直接初期化</span>
246+
<p><div class="codehilite"><pre><span></span><code><span class="n">T</span> <span class="nf">Func</span><span class="p">()</span> <span class="p">{</span><span class="k">return</span> <span class="n">T</span><span class="p">();}</span>
247+
<span class="n">T</span> <span class="n">t</span> <span class="o">=</span> <span class="n">Func</span><span class="p">();</span> <span class="c1">// 直接初期化</span>
248248
</code></pre></div>
249249
</p>
250250
<h2></h2>

lang/cpp23/lifetime_extension_in_range_based_for_loop.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-07-08T07:33:21">
192-
2024年07月08日 07時33分21秒
191+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
192+
2024年12月05日 02時54分34秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -316,9 +316,11 @@ <h3>例外規定について</h3>
316316
<ul>
317317
<li>この <code>t</code> は "一時オブジェクトの寿命が <code>for-range-initializer</code> 完全式の終わりではない場合" にも該当すると考えられる</li>
318318
<li>この <code>t</code> は、構文的に見ると <code>for-range-initializer</code> の中で生じたとは言えないという意見もある</li>
319-
<li>"<code>for-range-initializer</code> の中" を実行時のことだと解釈すると、そこから呼び出された関数の中なども含むことになるが、それを排除する規定が "一時オブジェクトの寿命が <code>for-range-initializer</code> 完全式の終わりではない場合" ではないか</li>
319+
<li>"<code>for-range-initializer</code> の中" を実行時のことだと解釈すると、そこから呼び出された関数の中なども含むことになるが、それを排除する規定が "一時オブジェクトの寿命が <code>for-range-initializer</code> 完全式の終わりではない場合" ではないか<ul>
320320
<li>インライン展開されたときなどに効いてくるのかもしれない</li>
321321
</ul>
322+
</li>
323+
</ul>
322324
<h2>検討されたほかの選択肢</h2>
323325
<p>一時オブジェクトの寿命について、範囲for文に限定しない汎用的な方法も検討されたが、最終的には範囲for文の例外規定となった。</p>
324326
<h2><a href="#relative-page" id="relative-page">関連項目</a></h2>

reference/algorithm.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@
176176

177177
<p class="text-right"><small>
178178
最終更新日時(UTC):
179-
<span itemprop="datePublished" content="2024-07-07T01:39:14">
180-
2024年07月07日 01時39分14秒
179+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
180+
2024年12月05日 02時54分34秒
181181
</span>
182182
<br/>
183183
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
184-
<span itemprop="name">suomesta</span>
184+
<span itemprop="name">Akira Takahashi</span>
185185
</span>
186186
が更新
187187
</small></p>

reference/compare/partial_ordering/op_equal.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2024-07-10T07:47:57">
204-
2024年07月10日 07時47分57秒
203+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
204+
2024年12月05日 02時54分34秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">

reference/compare/strong_ordering/op_equal.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2024-07-10T07:47:57">
204-
2024年07月10日 07時47分57秒
203+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
204+
2024年12月05日 02時54分34秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">

reference/compare/weak_ordering/op_equal.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2024-07-10T07:47:57">
204-
2024年07月10日 07時47分57秒
203+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
204+
2024年12月05日 02時54分34秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">

reference/concepts/swap.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
192-
2024年06月11日 13時45分38秒
191+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
192+
2024年12月05日 02時54分34秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">

reference/functional/copyable_function/op_constructor.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,12 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2023-10-31T09:24:16">
204-
2023年10月31日 09時24分16秒
203+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
204+
2024年12月05日 02時54分34秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
208-
<span itemprop="name">yoh</span>
208+
<span itemprop="name">Akira Takahashi</span>
209209
</span>
210210
が更新
211211
</small></p>
@@ -291,9 +291,11 @@ <h2>事前条件</h2>
291291
<h2>効果</h2>
292292
<ul>
293293
<li>(1), (2) : 関数を持たない空の<code>copyable_function</code>オブジェクトを構築する。この方法で構築した後、<code><a href="op_bool.html">operator bool</a></code><code>false</code>を返す。</li>
294-
<li>(3) : <code>*this</code>の格納オブジェクトを</li>
294+
<li>(3) : <code>*this</code>の格納オブジェクトを<ul>
295295
<li><code>f</code>が値を保持していない場合、値を保持しない。</li>
296296
<li>そうでなければ、<code>f</code>が保持する値をコピーして保持する。</li>
297+
</ul>
298+
</li>
297299
<li>(4) : <code>f</code>が保持する状態を<code>*this</code>に移動する。移動された後の<code>f</code>は、<a class="cpprefjp-defined-word" data-desc="未規定の動作。事前の断りなく処理系によって異なる動作をする" href="../../../implementation-compliance.html#dfn-unspecified-behavior">未規定</a>な値を持つ有効な状態となる。</li>
298300
<li>(5) : <code>*this</code>の格納オブジェクトを<ul>
299301
<li><code>f</code>が関数ポインタ型、メンバ関数ポインタ型、メンバ変数ポインタ型いずれかのヌルポインタ値の場合、値を保持しない。</li>

reference/iterator/data.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
192-
2024年06月11日 13時45分38秒
191+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
192+
2024年12月05日 02時54分34秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">

reference/iterator/empty.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
192-
2024年06月11日 13時45分38秒
191+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
192+
2024年12月05日 02時54分34秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">

reference/iterator/move_iterator/op_assign.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
204-
2024年06月11日 13時45分38秒
203+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
204+
2024年12月05日 02時54分34秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -243,16 +243,20 @@ <h2>概要</h2>
243243
</ul>
244244
<h2><a class="cpprefjp-defined-word" data-desc="関数であればオーバーロード解決に参加するための条件、それ以外であれば受け付ける型の条件">テンプレートパラメータ制約</a></h2>
245245
<ul>
246-
<li>C++17まで</li>
246+
<li>C++17まで<ul>
247247
<li>(1) : <code>U</code><code>Iterator</code>に変換可能であること</li>
248-
<li>C++20</li>
248+
</ul>
249+
</li>
250+
<li>C++20<ul>
249251
<li>(1) : 次の両方を満たす<ul>
250252
<li><code>is_same_v&lt;U, Iterator&gt; == false</code>であること。</li>
251253
<li><code>const U&amp;</code><code><a href="../../concepts/convertible_to.html">convertible_to&lt;Iterator&gt;</a></code>のモデルとなること。</li>
252254
<li><code>Iterator&amp;, const U&amp;</code><code><a href="../../concepts/assignable_from.html">assignable_from&lt;Iterator&amp;, const U&amp;&gt;</a></code>のモデルとなること。</li>
253255
</ul>
254256
</li>
255257
</ul>
258+
</li>
259+
</ul>
256260
<h2></h2>
257261
<p><div class="yata" id="98b06fbc8084e92e0d47941c78f31711e2a56806"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../../iostream.html">&lt;iostream&gt;</a></span><span class="cp"></span>
258262
<span class="cp">#include</span> <span class="cpf"><a href="../../vector.html">&lt;vector&gt;</a></span><span class="cp"></span>

reference/iterator/move_iterator/op_constructor.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
204-
2024年06月11日 13時45分38秒
203+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
204+
2024年12月05日 02時54分34秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -249,15 +249,19 @@ <h2>概要</h2>
249249
</ul>
250250
<h2><a class="cpprefjp-defined-word" data-desc="関数であればオーバーロード解決に参加するための条件、それ以外であれば受け付ける型の条件">テンプレートパラメータ制約</a></h2>
251251
<ul>
252-
<li>C++17まで</li>
252+
<li>C++17まで<ul>
253253
<li>(3) : <code>U</code><code>Iterator</code>に変換可能であること</li>
254-
<li>C++20</li>
254+
</ul>
255+
</li>
256+
<li>C++20<ul>
255257
<li>(3) : 次の全てを満たす<ul>
256258
<li><code>is_same_v&lt;U, Iterator&gt; == false</code>であること。</li>
257259
<li><code>const U&amp;, Iterator</code><code><a href="../../concepts/convertible_to.html">convertible_to&lt;Iterator&gt;</a></code>のモデルとなること。</li>
258260
</ul>
259261
</li>
260262
</ul>
263+
</li>
264+
</ul>
261265
<h2></h2>
262266
<p><div class="yata" id="50f4015b924dd6bed2a5c34a06566e65426c797d"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../../iostream.html">&lt;iostream&gt;</a></span><span class="cp"></span>
263267
<span class="cp">#include</span> <span class="cpf"><a href="../../vector.html">&lt;vector&gt;</a></span><span class="cp"></span>

reference/iterator/reverse_iterator/op_assign.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,12 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2021-03-03T07:00:32">
204-
2021年03月03日 07時00分32秒
203+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
204+
2024年12月05日 02時54分34秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
208-
<span itemprop="name">onihusube</span>
208+
<span itemprop="name">Akira Takahashi</span>
209209
</span>
210210
が更新
211211
</small></p>
@@ -240,16 +240,20 @@ <h2>概要</h2>
240240
</ul>
241241
<h2><a class="cpprefjp-defined-word" data-desc="関数であればオーバーロード解決に参加するための条件、それ以外であれば受け付ける型の条件">テンプレートパラメータ制約</a></h2>
242242
<ul>
243-
<li>C++17まで</li>
243+
<li>C++17まで<ul>
244244
<li>(2) : <code>U</code><code>Iterator</code>に変換可能であること</li>
245-
<li>C++20</li>
245+
</ul>
246+
</li>
247+
<li>C++20<ul>
246248
<li>(2) : 次の両方を満たす<ul>
247249
<li><code>is_same_v&lt;U, Iterator&gt; == false</code>であること。</li>
248250
<li><code>const U&amp;, Iterator</code><code><a href="../../concepts/convertible_to.html">convertible_to&lt;Iterator&gt;</a></code>のモデルとなること。</li>
249251
<li><code>Iterator&amp;, const U&amp;</code><code><a href="../../concepts/assignable_from.html">assignable_from&lt;Iterator&amp;, const U&amp;&gt;</a></code>のモデルとなること。</li>
250252
</ul>
251253
</li>
252254
</ul>
255+
</li>
256+
</ul>
253257
<h2>戻り値</h2>
254258
<p><code>*this</code></p>
255259
<h2></h2>

reference/iterator/reverse_iterator/op_constructor.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,12 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2021-03-03T07:00:32">
204-
2021年03月03日 07時00分32秒
203+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
204+
2024年12月05日 02時54分34秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
208-
<span itemprop="name">onihusube</span>
208+
<span itemprop="name">Akira Takahashi</span>
209209
</span>
210210
が更新
211211
</small></p>
@@ -247,15 +247,19 @@ <h2>概要</h2>
247247
</ul>
248248
<h2><a class="cpprefjp-defined-word" data-desc="関数であればオーバーロード解決に参加するための条件、それ以外であれば受け付ける型の条件">テンプレートパラメータ制約</a></h2>
249249
<ul>
250-
<li>C++17まで</li>
250+
<li>C++17まで<ul>
251251
<li>(3) : <code>U</code><code>Iterator</code>に変換可能であること</li>
252-
<li>C++20</li>
252+
</ul>
253+
</li>
254+
<li>C++20<ul>
253255
<li>(3) : 次の両方を満たす<ul>
254256
<li><code>is_same_v&lt;U, Iterator&gt; == false</code>であること。</li>
255257
<li><code>const U&amp;, Iterator</code><code><a href="../../concepts/convertible_to.html">convertible_to&lt;Iterator&gt;</a></code>のモデルとなること。</li>
256258
</ul>
257259
</li>
258260
</ul>
261+
</li>
262+
</ul>
259263
<h2>要件</h2>
260264
<ul>
261265
<li>(3) : <code>U</code><code>Iterator</code>に変換可能であること</li>

reference/iterator/size.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-06-11T13:45:38">
192-
2024年06月11日 13時45分38秒
191+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
192+
2024年12月05日 02時54分34秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">

reference/linalg/hermitian_matrix_product.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,12 @@
204204

205205
<p class="text-right"><small>
206206
最終更新日時(UTC):
207-
<span itemprop="datePublished" content="2024-08-08T08:22:01">
208-
2024年08月08日 08時22分01秒
207+
<span itemprop="datePublished" content="2024-12-05T02:54:34">
208+
2024年12月05日 02時54分34秒
209209
</span>
210210
<br/>
211211
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
212-
<span itemprop="name">yoh</span>
212+
<span itemprop="name">Akira Takahashi</span>
213213
</span>
214214
が更新
215215
</small></p>

0 commit comments

Comments
 (0)