Skip to content

Commit b370509

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent e79ea1b commit b370509

File tree

27 files changed

+3169
-2118
lines changed

27 files changed

+3169
-2118
lines changed

lang/cpp26.html

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

177177
<p class="text-right"><small>
178178
最終更新日時(UTC):
179-
<span itemprop="datePublished" content="2026-01-28T06:28:47">
180-
2026年01月28日 06時28分47秒
179+
<span itemprop="datePublished" content="2026-01-31T04:25:25">
180+
2026年01月31日 04時25分25秒
181181
</span>
182182
<br/>
183183
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -575,14 +575,14 @@ <h3>コンテナ</h3>
575575
<li>連続イテレータのコンセプト<code><a href="../reference/iterator/contiguous_iterator.html">contiguous_iterator</a></code>に、ポインタに変換できることを要件として追加</li>
576576
<li><code><a href="../reference/initializer_list/initializer_list.html">std::initializer_list</a></code>クラスを以下のように変更<ul>
577577
<li>独自に定義されていた<code><a href="../reference/initializer_list/initializer_list/begin_free.html">std::begin()</a></code> / <code><a href="../reference/initializer_list/initializer_list/end_free.html">std::end()</a></code><a class="cpprefjp-defined-word" data-desc="同名の関数を異なる引数・テンプレート・制約などで複数定義すること。または同名の関数の集合">オーバーロード</a>を削除 (<code>std::cbegin()</code><code>std::rend()</code>のような<a class="cpprefjp-defined-word" data-desc="同名の関数を異なる引数・テンプレート・制約などで複数定義すること。または同名の関数の集合">オーバーロード</a>がなかったため、ほかとの不整合があった)</li>
578-
<li>メンバ関数<code><span href="https://cpprefjp.github.io/reference/initializer_list/initializer_list/data.md.nolink">data()</span></code>を追加</li>
579-
<li>メンバ関数<code><span href="https://cpprefjp.github.io/reference/initializer_list/initializer_list/empty.md.nolink">empty()</span></code>を追加</li>
578+
<li>メンバ関数<code><a href="../reference/initializer_list/initializer_list/data.html">data()</a></code>を追加</li>
579+
<li>メンバ関数<code><a href="../reference/initializer_list/initializer_list/empty.html">empty()</a></code>を追加</li>
580580
</ul>
581581
</li>
582582
<li><code><a href="../reference/valarray/valarray.html">std::valarray</a></code>クラスを以下のように変更<ul>
583583
<li>独自に定義されていた<code><a href="../reference/valarray/valarray/begin_free.html">std::begin()</a></code> / <code><a href="../reference/valarray/valarray/end_free.html">std::end()</a></code><a class="cpprefjp-defined-word" data-desc="同名の関数を異なる引数・テンプレート・制約などで複数定義すること。または同名の関数の集合">オーバーロード</a>を削除 (<code>std::cbegin()</code><code>std::rend()</code>のような<a class="cpprefjp-defined-word" data-desc="同名の関数を異なる引数・テンプレート・制約などで複数定義すること。または同名の関数の集合">オーバーロード</a>がなかったため、ほかとの不整合があった)</li>
584584
<li>メンバ型<code>iterator</code> / <code>const_iterator</code>を追加</li>
585-
<li>メンバ関数<code><span href="https://cpprefjp.github.io/reference/valarray/valarray/begin.md.nolink">begin()</span></code> / <code><span href="https://cpprefjp.github.io/reference/valarray/valarray/end.md.nolink">end()</span></code>を追加</li>
585+
<li>メンバ関数<code><a href="../reference/valarray/valarray/begin.html">begin()</a></code> / <code><a href="../reference/valarray/valarray/end.html">end()</a></code>を追加</li>
586586
</ul>
587587
</li>
588588
<li>イテレータインタフェースの非メンバ関数<code><a href="../reference/iterator/begin.html">std::begin()</a></code> / <code><a href="../reference/iterator/end.html">std::end()</a></code> / <code><a href="../reference/iterator/cbegin.html">std::cbegin()</a></code> / <code><a href="../reference/iterator/cend.html">std::cend()</a></code> / <code><a href="../reference/iterator/rbegin.html">std::rbegin()</a></code> / <code><a href="../reference/iterator/rend.html">std::rend()</a></code> / <code><a href="../reference/iterator/crbegin.html">std::crbegin()</a></code> / <code><a href="../reference/iterator/crend.html">std::crend()</a></code> / <code><a href="../reference/iterator/size.html">std::size()</a></code> / <code><a href="../reference/iterator/ssize.html">std::ssize()</a></code> / <code><a href="../reference/iterator/empty.html">std::empty()</a></code> / <code><a href="../reference/iterator/data.html">std::data()</a></code>を以下のように変更<ul>

reference/initializer_list/initializer_list.html

Lines changed: 15 additions & 5 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-08-24T16:54:17">
192-
2025年08月24日 16時54分17秒
191+
<span itemprop="datePublished" content="2026-01-31T04:25:25">
192+
2026年01月31日 04時25分25秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Raclamusi</span>
196+
<span itemprop="name">Akira Takahashi</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -256,6 +256,16 @@ <h2>メンバ関数</h2>
256256
<td>最後尾要素の次を指すポインタを取得する</td>
257257
<td>C++11</td>
258258
</tr>
259+
<tr>
260+
<td><code><a href="initializer_list/data.html">data</a></code></td>
261+
<td>配列の先頭へのポインタを取得する</td>
262+
<td>C++26</td>
263+
</tr>
264+
<tr>
265+
<td><code><a href="initializer_list/empty.html">empty</a></code></td>
266+
<td>配列が空かどうかを判定する</td>
267+
<td>C++26</td>
268+
</tr>
259269
</tbody>
260270
</table>
261271
<h2>メンバ型</h2>
@@ -313,12 +323,12 @@ <h2>非メンバ関数</h2>
313323
<tr>
314324
<td><code><a href="initializer_list/begin_free.html">begin</a></code></td>
315325
<td>先頭要素へのポインタを取得する</td>
316-
<td>C++11</td>
326+
<td>C++11<br />C++26で削除</td>
317327
</tr>
318328
<tr>
319329
<td><code><a href="initializer_list/end_free.html">end</a></code></td>
320330
<td>最後尾要素の次を指すポインタを取得する</td>
321-
<td>C++11</td>
331+
<td>C++11<br />C++26で削除</td>
322332
</tr>
323333
</tbody>
324334
</table>

reference/initializer_list/initializer_list/begin_free.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
</head>
7070
<body>
71-
<header data-kunai-mdinfo="{&#34;meta&#34;: {&#34;header&#34;: [&#34;initializer_list&#34;], &#34;namespace&#34;: [&#34;std&#34;], &#34;id-type&#34;: [&#34;function template&#34;], &#34;cpp&#34;: [&#34;cpp11&#34;]}, &#34;sources&#34;: [{&#34;id&#34;: &#34;13eacbe1568ee7289196d5ccd1b7e4ce4584a170&#34;, &#34;source&#34;: &#34;#include &lt;iostream&gt;\n#include &lt;initializer_list&gt;\n\nint main()\n{\n std::initializer_list&lt;int&gt; init = {1, 2, 3};\n\n decltype(init)::iterator it = std::begin(init);\n\n std::cout &lt;&lt; *it &lt;&lt; std::endl;\n}\n&#34;}], &#34;page_id&#34;: [&#34;reference&#34;, &#34;initializer_list&#34;, &#34;initializer_list&#34;, &#34;begin_free&#34;]}">
71+
<header data-kunai-mdinfo="{&#34;meta&#34;: {&#34;header&#34;: [&#34;initializer_list&#34;], &#34;namespace&#34;: [&#34;std&#34;], &#34;id-type&#34;: [&#34;function template&#34;], &#34;cpp&#34;: [&#34;cpp11&#34;, &#34;cpp26removed&#34;]}, &#34;sources&#34;: [{&#34;id&#34;: &#34;13eacbe1568ee7289196d5ccd1b7e4ce4584a170&#34;, &#34;source&#34;: &#34;#include &lt;iostream&gt;\n#include &lt;initializer_list&gt;\n\nint main()\n{\n std::initializer_list&lt;int&gt; init = {1, 2, 3};\n\n decltype(init)::iterator it = std::begin(init);\n\n std::cout &lt;&lt; *it &lt;&lt; std::endl;\n}\n&#34;}], &#34;page_id&#34;: [&#34;reference&#34;, &#34;initializer_list&#34;, &#34;initializer_list&#34;, &#34;begin_free&#34;]}">
7272
<nav class="navbar navbar-default" role="navigation">
7373
<div class="container-fluid">
7474
<div class="navbar-header">
@@ -200,12 +200,12 @@
200200

201201
<p class="text-right"><small>
202202
最終更新日時(UTC):
203-
<span itemprop="datePublished" content="2025-07-11T17:16:44">
204-
2025年07月11日 17時16分44秒
203+
<span itemprop="datePublished" content="2026-01-31T04:25:25">
204+
2026年01月31日 04時25分25秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
208-
<span itemprop="name">Koichi Murase</span>
208+
<span itemprop="name">Akira Takahashi</span>
209209
</span>
210210
が更新
211211
</small></p>
@@ -224,14 +224,15 @@
224224
<div class="row">
225225
<div class="col-sm-12 content-body">
226226

227-
<div class="identifier-type">function template</div><div class="header">&lt;initializer_list&gt;</div><h1 itemprop="name"><span class="namespace" title="namespace std">std::</span><span class="token">begin (非メンバ関数)</span><span class="cpp cpp11" title="C++11で追加">(C++11)</span></h1>
227+
<div class="identifier-type">function template</div><div class="header">&lt;initializer_list&gt;</div><h1 itemprop="name"><span class="namespace" title="namespace std">std::</span><span class="token">begin (非メンバ関数)</span><span class="cpp cpp11" title="C++11で追加">(C++11)</span><span class="cpp cpp26removed text-danger" title="C++26で削除">(C++26で削除)</span></h1>
228228
<div itemprop="articleBody"><p><div class="codehilite"><pre><span></span><code><span class="k">template</span> <span class="o">&lt;</span><span class="k">class</span> <span class="nc">E</span><span class="o">&gt;</span>
229-
<span class="k">const</span> <span class="n">E</span><span class="o">*</span> <span class="n">begin</span><span class="p">(</span><span class="n">initializer_list</span><span class="o">&lt;</span><span class="n">E</span><span class="o">&gt;</span> <span class="n">il</span><span class="p">)</span> <span class="k">noexcept</span><span class="p">;</span> <span class="c1">// C++11</span>
229+
<span class="k">const</span> <span class="n">E</span><span class="o">*</span> <span class="n">begin</span><span class="p">(</span><span class="n">initializer_list</span><span class="o">&lt;</span><span class="n">E</span><span class="o">&gt;</span> <span class="n">il</span><span class="p">)</span> <span class="k">noexcept</span><span class="p">;</span> <span class="c1">// C++11、C++26で削除</span>
230230

231231
<span class="k">template</span> <span class="o">&lt;</span><span class="k">class</span> <span class="nc">E</span><span class="o">&gt;</span>
232-
<span class="k">constexpr</span> <span class="k">const</span> <span class="n">E</span><span class="o">*</span> <span class="n">begin</span><span class="p">(</span><span class="n">initializer_list</span><span class="o">&lt;</span><span class="n">E</span><span class="o">&gt;</span> <span class="n">il</span><span class="p">)</span> <span class="k">noexcept</span><span class="p">;</span> <span class="c1">// C++14</span>
232+
<span class="k">constexpr</span> <span class="k">const</span> <span class="n">E</span><span class="o">*</span> <span class="n">begin</span><span class="p">(</span><span class="n">initializer_list</span><span class="o">&lt;</span><span class="n">E</span><span class="o">&gt;</span> <span class="n">il</span><span class="p">)</span> <span class="k">noexcept</span><span class="p">;</span> <span class="c1">// C++14、C++26で削除</span>
233233
</code></pre></div>
234234
</p>
235+
<p>この関数はC++26で削除された。代わりに<code><a href="../../iterator.html">&lt;iterator&gt;</a></code>ヘッダで定義される<code><a href="../../iterator/begin.html">std::begin()</a></code>関数を使用すること。<code><a href="../../iterator.html">&lt;iterator&gt;</a></code>ヘッダの<code><a href="../../iterator/begin.html">std::begin()</a></code>関数経由でメンバ関数の<code><a href="begin.html">begin()</a></code>を呼び出せるため不要である。</p>
235236
<h2>概要</h2>
236237
<p>先頭要素を指すポインタを取得する。</p>
237238
<h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a></h2>
@@ -271,6 +272,7 @@ <h2>参照</h2>
271272
<ul>
272273
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3257.pdf" target="_blank">N3257 Range-based for statements and ADL</a></li>
273274
<li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3471.html" target="_blank">N3471 Constexpr Library Additions: utilities, v3</a></li>
275+
<li><a href="https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p3016r6.html" target="_blank">P3016R6 Resolve inconsistencies in <code>begin</code>/<code>end</code> for <code>valarray</code> and <code>braced-initializer-list</code></a></li>
274276
</ul></div>
275277

276278
</div>

0 commit comments

Comments
 (0)