Skip to content

Commit ff949f2

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 0faa25b commit ff949f2

File tree

11 files changed

+1234
-395
lines changed

11 files changed

+1234
-395
lines changed

lang/cpp11/initializer_lists.html

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

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-04-24T03:21:52">
192-
2025年04月24日 03時21分52秒
191+
<span itemprop="datePublished" content="2025-08-18T09:51:23">
192+
2025年08月18日 09時51分23秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Akira Takahashi</span>
196+
<span itemprop="name">Raclamusi</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -229,7 +229,7 @@ <h2>概要</h2>
229229
<span class="n">v2</span> <span class="o">=</span> <span class="p">{</span><span class="mi">4</span><span class="p">,</span> <span class="mi">5</span><span class="p">,</span> <span class="mi">6</span><span class="p">};</span>
230230
</code></pre></div>
231231
</p>
232-
<p><a class="cpprefjp-defined-word" data-desc="プログラム定義型。標準ライブラリの型を除く、ユーザー(プログラマ)によって定義された型のこと">ユーザー定義型</a>に対してリスト初期化を許可するためには、<code><a href="../../reference/initializer_list/initializer_list.html">&lt;initializer_list&gt;</a></code>ヘッダで定義される<code><a href="../../reference/initializer_list/initializer_list.html">std::initializer_list</a></code>クラスのオブジェクトをパラメータとして、コンストラクタや代入演算子を<a class="cpprefjp-defined-word" data-desc="同名の関数を異なる引数・テンプレート・制約などで複数定義すること。または同名の関数の集合">オーバーロード</a>する:</p>
232+
<p><a class="cpprefjp-defined-word" data-desc="プログラム定義型。標準ライブラリの型を除く、ユーザー(プログラマ)によって定義された型のこと">ユーザー定義型</a>に対してリスト初期化を許可するためには、<code><a href="../../reference/initializer_list.html">&lt;initializer_list&gt;</a></code>ヘッダで定義される<code><a href="../../reference/initializer_list/initializer_list.html">std::initializer_list</a></code>クラスのオブジェクトをパラメータとして、コンストラクタや代入演算子を<a class="cpprefjp-defined-word" data-desc="同名の関数を異なる引数・テンプレート・制約などで複数定義すること。または同名の関数の集合">オーバーロード</a>する:</p>
233233
<p><div class="yata" id="094233b424ecefe3fb55532e50b78184615fdab6"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../../reference/vector.html">&lt;vector&gt;</a></span><span class="cp"></span>
234234
<span class="cp">#include</span> <span class="cpf"><a href="../../reference/initializer_list.html">&lt;initializer_list&gt;</a></span><span class="cp"></span>
235235

lang/cpp14/feature_test_macros.html

Lines changed: 3 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-12-25T07:32:04">
192-
2024年12月25日 07時32分04秒
191+
<span itemprop="datePublished" content="2025-08-18T09:51:23">
192+
2025年08月18日 09時51分23秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -323,7 +323,7 @@ <h2>概要</h2>
323323
<td><code>__cpp_lib_make_unique</code></td>
324324
<td><code>201304</code></td>
325325
<td><code><a href="../../reference/memory/make_unique.html">std::make_unique</a></code></td>
326-
<td><code><a href="../../reference/memory/make_unique.html">&lt;memory&gt;</a></code></td>
326+
<td><code><a href="../../reference/memory.html">&lt;memory&gt;</a></code></td>
327327
</tr>
328328
<tr>
329329
<td><code>__cpp_lib_null_iterators</code></td>

lang/cpp17/feature_test_macros.html

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

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-07-10T07:47:57">
192-
2024年07月10日 07時47分57秒
191+
<span itemprop="datePublished" content="2025-08-18T10:20:58">
192+
2025年08月18日 10時20分58秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Akira Takahashi</span>
196+
<span itemprop="name">Raclamusi</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -426,7 +426,7 @@ <h3>ライブラリ</h3>
426426
<tr>
427427
<td><code>__cpp_lib_boyer_moore_searcher</code></td>
428428
<td><code>201603</code></td>
429-
<td><code><a href="../../reference/functional/boyer_moore_searcher.html">std::boyer_morre_searcher</a></code>と関連する機能</td>
429+
<td><code><a href="../../reference/functional/boyer_moore_searcher.html">std::boyer_moore_searcher</a></code>と関連する機能</td>
430430
<td><code><a href="../../reference/functional.html">&lt;functional&gt;</a></code></td>
431431
</tr>
432432
<tr>

lang/cpp20/feature_test_macros.html

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

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2024-10-19T02:58:25">
192-
2024年10月19日 02時58分25秒
191+
<span itemprop="datePublished" content="2025-08-18T08:39:28">
192+
2025年08月18日 08時39分28秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">suomesta</span>
196+
<span itemprop="name">Raclamusi</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -454,7 +454,7 @@ <h3>ライブラリ</h3>
454454
<tr>
455455
<td><code>__cpp_lib_constexpr_dynamic_alloc</code></td>
456456
<td><code>201907L</code></td>
457-
<td><code><a href="../../reference/memory/destroy_at.html">std::destroy_at</a></code>ファミリと<code><a href="../../reference/memory/allocator.html">std::allocator</a></code>/<code><a href="../../reference/memory/allocator_traits.html">std::alocator_traits</a></code><code>constexpr</code>対応<br /><code><a href="../../reference/memory/construct_at.html">std::construct_at</a></code></td>
457+
<td><code><a href="../../reference/memory/destroy_at.html">std::destroy_at</a></code>ファミリと<code><a href="../../reference/memory/allocator.html">std::allocator</a></code>/<code><a href="../../reference/memory/allocator_traits.html">std::allocator_traits</a></code><code>constexpr</code>対応<br /><code><a href="../../reference/memory/construct_at.html">std::construct_at</a></code></td>
458458
<td><code><a href="../../reference/memory.html">&lt;memory&gt;</a></code></td>
459459
</tr>
460460
<tr>

lang/cpp20/more_constexpr_containers.html

Lines changed: 3 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="2025-06-11T14:15:20">
192-
2025年06月11日 14時15分20秒
191+
<span itemprop="datePublished" content="2025-08-18T09:48:42">
192+
2025年08月18日 09時48分42秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -343,7 +343,7 @@ <h3><code>new/delete</code>式</h3>
343343
<h3><code>std::allocator/std::allocator_traits</code></h3>
344344
<p>標準ライブラリのコンテナ等は<code>new/delete</code>式を直接利用するわけではなく、<code>std::allocator_traits</code>を介して<code>std::allocator</code>を使用してメモリ確保・解放とオブジェクト構築・破棄を行う。<code>std::allocator/std::allocator_traits</code>も見かけ上はポインタの再解釈を必要とせずにそれを行うため、<code>std::allocator/std::allocator_traits</code>によるメモリ確保周りの機能もまた、コンパイル時の動的メモリ確保・解放の方法として許可される。</p>
345345
<p><code>std::allocator/std::allocator_traits</code>では<code>new/delete</code>式とは異なり、メモリの確保・解放(<code><a href="../../reference/memory/allocator/allocate.html">allocate</a></code>/<code><a href="../../reference/memory/allocator/deallocate.html">deallocate</a></code>)とその領域へのオブジェクト構築・破棄(<code><a href="../../reference/memory/allocator_traits/construct.html">construct</a></code>/<code><a href="../../reference/memory/allocator_traits/destroy.html">destroy</a></code>)の操作が複合していない。オブジェクト構築・破棄においては<em>placement new</em><em>pseudo-destructor call</em>が必要となるが、<em>placement new</em>はポインタの再解釈が必要となることから許可されず、そのために不必要であるので<em>pseudo-destructor call</em>も許可されない。</p>
346-
<p>代わりに、<em>placement new</em>を行うライブラリ機能である<code><span href="https://cpprefjp.github.io/reference/memory/construct.md.nolink">construct_at</span></code>を追加し、<em>pseudo-destructor call</em>を行う<code><a href="../../reference/memory/destroy_at.html">destroy_at</a></code>と共に<code>constexpr</code>を付加し定数式で使用可能とする。これらの関数は<code>void*</code>ではなく<code>T*</code>を取るため、これによってポインタ再解釈を回避しつつ<em>placement new</em><em>pseudo-destructor call</em>が定数式で使用可能となる。</p>
346+
<p>代わりに、<em>placement new</em>を行うライブラリ機能である<code><a href="../../reference/memory/construct_at.html">construct_at</a></code>を追加し、<em>pseudo-destructor call</em>を行う<code><a href="../../reference/memory/destroy_at.html">destroy_at</a></code>と共に<code>constexpr</code>を付加し定数式で使用可能とする。これらの関数は<code>void*</code>ではなく<code>T*</code>を取るため、これによってポインタ再解釈を回避しつつ<em>placement new</em><em>pseudo-destructor call</em>が定数式で使用可能となる。</p>
347347
<p>そして、<code>std::allocator_traits</code><code>construct</code><code>destroy</code><code>construct_at/destroy_at</code>を呼び出して処理を行うように変更される。なお、これによって実行時の振る舞いが変化することはない。</p>
348348
<p><div class="codehilite"><pre><span></span><code><span class="k">constexpr</span> <span class="kt">int</span> <span class="nf">f</span><span class="p">()</span> <span class="p">{</span>
349349
<span class="n"><a href="../../reference/memory/allocator.html">std::allocator</a></span><span class="o">&lt;</span><span class="kt">int</span><span class="o">&gt;</span> <span class="n">alloc</span><span class="p">{};</span>

lang/cpp23.html

Lines changed: 4 additions & 4 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="2025-08-11T06:35:16">
180-
2025年08月11日 06時35分16秒
179+
<span itemprop="datePublished" content="2025-08-18T10:21:16">
180+
2025年08月18日 10時21分16秒
181181
</span>
182182
<br/>
183183
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
184-
<span itemprop="name">suomesta</span>
184+
<span itemprop="name">Raclamusi</span>
185185
</span>
186186
が更新
187187
</small></p>
@@ -518,7 +518,7 @@ <h3>コンテナ</h3>
518518
</ul>
519519
<h3>アルゴリズム</h3>
520520
<ul>
521-
<li><code><a href="../reference/algorithm.html">&lt;algorithm&gt;</a></code>に、範囲の先頭が指定した範囲と合致するかを判定する<code><a href="../reference/algorithm/ranges_starts_with.html">std::starts_with()</a></code>、範囲の末尾が指定した範囲と合致するかを判定する<code><a href="../reference/algorithm/ranges_ends_with.html">std::ends_with()</a></code>を追加</li>
521+
<li><code><a href="../reference/algorithm.html">&lt;algorithm&gt;</a></code>に、範囲の先頭が指定した範囲と合致するかを判定する<code><a href="../reference/algorithm/ranges_starts_with.html">std::ranges::starts_with()</a></code>、範囲の末尾が指定した範囲と合致するかを判定する<code><a href="../reference/algorithm/ranges_ends_with.html">std::ranges::ends_with()</a></code>を追加</li>
522522
<li><code><a href="../reference/algorithm.html">&lt;algorithm&gt;</a></code>に、要素を左シフトさせるRangeアルゴリズム<code><a href="../reference/algorithm/ranges_shift_left.html">std::ranges::shift_left()</a></code>、要素を右シフトさせるRangeアルゴリズム<code><a href="../reference/algorithm/ranges_shift_right.html">std::ranges::shift_right()</a></code>を追加</li>
523523
<li><code><a href="../reference/algorithm.html">&lt;algorithm&gt;</a></code>に、範囲の末尾から要素を検索する以下のアルゴリズムを追加:<ul>
524524
<li><code><a href="../reference/algorithm/ranges_find_last.html">std::ranges::find_last()</a></code></li>

reference/mutex/defer_lock.html

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

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-07-08T15:33:39">
192-
2025年07月08日 15時33分39秒
191+
<span itemprop="datePublished" content="2025-08-18T09:53:17">
192+
2025年08月18日 09時53分17秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Akira Takahashi</span>
196+
<span itemprop="name">Raclamusi</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -259,7 +259,7 @@ <h3>処理系</h3>
259259
</ul>
260260
<h2>参照</h2>
261261
<ul>
262-
<li>[LWG Issue 2510. Tag types should not be <code>DefaultConstructible</code>](https://cplusplus.github.io/LWG/issue2510</li>
262+
<li><a href="https://cplusplus.github.io/LWG/issue2510" target="_blank">LWG Issue 2510. Tag types should not be <code>DefaultConstructible</code></a></li>
263263
</ul></div>
264264

265265
</div>

reference/mutex/try_to_lock.html

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

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-07-08T15:33:39">
192-
2025年07月08日 15時33分39秒
191+
<span itemprop="datePublished" content="2025-08-18T09:53:17">
192+
2025年08月18日 09時53分17秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Akira Takahashi</span>
196+
<span itemprop="name">Raclamusi</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -263,7 +263,7 @@ <h3>処理系</h3>
263263
</ul>
264264
<h2>参照</h2>
265265
<ul>
266-
<li>[LWG Issue 2510. Tag types should not be <code>DefaultConstructible</code>](https://cplusplus.github.io/LWG/issue2510</li>
266+
<li><a href="https://cplusplus.github.io/LWG/issue2510" target="_blank">LWG Issue 2510. Tag types should not be <code>DefaultConstructible</code></a></li>
267267
</ul></div>
268268

269269
</div>

reference/thread/jthread.html

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

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-07-09T08:52:14">
192-
2025年07月09日 08時52分14秒
191+
<span itemprop="datePublished" content="2025-08-18T09:51:23">
192+
2025年08月18日 09時51分23秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Akira Takahashi</span>
196+
<span itemprop="name">Raclamusi</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -222,7 +222,7 @@ <h2>概要</h2>
222222
<p>クラス<code>jthread</code>は、<code><a href="thread.html">thread</a></code>と同じく、新しい実行のスレッド(thread of execution)(以下、単にスレッドとする)の作成/待機/その他操作を行う機構を提供する。このクラスはさらに、実行しているスレッドに対する停止要求を扱う機能や、自動で<code><a href="jthread/join.html">join</a></code>操作を行う機能を提供する。</p>
223223
<h2><code>thread</code>クラスとの違い</h2>
224224
<ul>
225-
<li>停止要求のサポート: <code>jthread</code>は自身と関連付けられたスレッドに対する停止要求を扱う仕組みを提供する。このために<code><a href="../stop_token/stop_token.html">&lt;stop_token&gt;</a></code>ヘッダに定義されたクラスを利用する。</li>
225+
<li>停止要求のサポート: <code>jthread</code>は自身と関連付けられたスレッドに対する停止要求を扱う仕組みを提供する。このために<code><a href="../stop_token.html">&lt;stop_token&gt;</a></code>ヘッダに定義されたクラスを利用する。</li>
226226
<li>自動join機能: <code>jthread</code>はデストラクタやムーブ代入演算子が呼び出されたとき、もし自身に関連付けられたスレッドが存在する場合は、スレッドの停止要求を作成し、その後<code><a href="jthread/join.html">join()</a></code>を呼び出してスレッドの終了を待機する。そのため<code>thread</code>クラスと異なり、<code><a href="jthread/joinable.html">joinable()</a> == true</code> であってもデストラクタやムーブ代入演算子を呼び出し可能であり、<code><a href="../exception/terminate.html">std::terminate()</a></code>は呼び出されない。</li>
227227
</ul>
228228
<h2>メンバ関数</h2>

0 commit comments

Comments
 (0)