Skip to content

Commit 76f82ff

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 05acaf8 commit 76f82ff

File tree

6 files changed

+135
-5497
lines changed

6 files changed

+135
-5497
lines changed

lang/cpp20/va_opt.html

Lines changed: 7 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;cpp&#34;: [&#34;cpp20&#34;]}, &#34;sources&#34;: [{&#34;id&#34;: &#34;0a0c8a88cf01ee8ce6bdd34fed140054cf7838fe&#34;, &#34;source&#34;: &#34;#include &lt;cstdio&gt;\n\n#define DEBUG_LOG(msg, ...) std::printf(\&#34;[debug] \&#34; msg \&#34;\\n\&#34; __VA_OPT__(,) __VA_ARGS__)\n\nint main()\n{\n DEBUG_LOG(\&#34;hello\&#34;); // printf(\&#34;[debug] hello\\n\&#34;); \u306b\u5c55\u958b\u3055\u308c\u308b\n DEBUG_LOG(\&#34;value:%d\&#34;, 3); // printf(\&#34;[debug] value:%d\\n\&#34;, 3); \u306b\u5c55\u958b\u3055\u308c\u308b\n}\n&#34;}], &#34;page_id&#34;: [&#34;lang&#34;, &#34;cpp20&#34;, &#34;va_opt&#34;]}">
71+
<header data-kunai-mdinfo="{&#34;meta&#34;: {&#34;cpp&#34;: [&#34;cpp20&#34;]}, &#34;sources&#34;: [{&#34;id&#34;: &#34;ba878c21d0bd3efc7c66a8dc8fb79ccd4250a867&#34;, &#34;source&#34;: &#34;#include &lt;cstdio&gt;\n\n#define DEBUG_LOG(msg, ...) std::printf(\&#34;[debug] \&#34; msg \&#34;\\n\&#34; __VA_OPT__(,) __VA_ARGS__)\n\nint main()\n{\n DEBUG_LOG(\&#34;hello\&#34;); // std::printf(\&#34;[debug] hello\\n\&#34;); \u306b\u5c55\u958b\u3055\u308c\u308b\n DEBUG_LOG(\&#34;value:%d\&#34;, 3); // std::printf(\&#34;[debug] value:%d\\n\&#34;, 3); \u306b\u5c55\u958b\u3055\u308c\u308b\n}\n&#34;}], &#34;page_id&#34;: [&#34;lang&#34;, &#34;cpp20&#34;, &#34;va_opt&#34;]}">
7272
<nav class="navbar navbar-default" role="navigation">
7373
<div class="container-fluid">
7474
<div class="navbar-header">
@@ -188,12 +188,12 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-07-10T01:26:30">
192-
2025年07月10日 01時26分30秒
191+
<span itemprop="datePublished" content="2026-03-02T12:08:56">
192+
2026年03月02日 12時08分56秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Koichi Murase</span>
196+
<span itemprop="name">suomesta</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -235,14 +235,14 @@ <h2>概要</h2>
235235
</p>
236236
<p>このマクロは、同じ仕様でC言語にも提案されている。「<a href="http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2034.htm" target="_blank">WG14 N2034 Comma omission and comma deletion</a>」を参照。</p>
237237
<h2></h2>
238-
<p><div class="yata" id="0a0c8a88cf01ee8ce6bdd34fed140054cf7838fe"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../../reference/cstdio.html">&lt;cstdio&gt;</a></span><span class="cp"></span>
238+
<p><div class="yata" id="ba878c21d0bd3efc7c66a8dc8fb79ccd4250a867"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../../reference/cstdio.html">&lt;cstdio&gt;</a></span><span class="cp"></span>
239239

240240
<span class="cp">#define DEBUG_LOG(msg, ...) std::printf("[debug] " msg "\n" __VA_OPT__(,) __VA_ARGS__)</span>
241241

242242
<span class="kt">int</span> <span class="nf">main</span><span class="p">()</span>
243243
<span class="p">{</span>
244-
<span class="n">DEBUG_LOG</span><span class="p">(</span><span class="s">"hello"</span><span class="p">);</span> <span class="c1">// printf("[debug] hello\n"); に展開される</span>
245-
<span class="n">DEBUG_LOG</span><span class="p">(</span><span class="s">"value:%d"</span><span class="p">,</span> <span class="mi">3</span><span class="p">);</span> <span class="c1">// printf("[debug] value:%d\n", 3); に展開される</span>
244+
<span class="n">DEBUG_LOG</span><span class="p">(</span><span class="s">"hello"</span><span class="p">);</span> <span class="c1">// std::printf("[debug] hello\n"); に展開される</span>
245+
<span class="n">DEBUG_LOG</span><span class="p">(</span><span class="s">"value:%d"</span><span class="p">,</span> <span class="mi">3</span><span class="p">);</span> <span class="c1">// std::printf("[debug] value:%d\n", 3); に展開される</span>
246246
<span class="p">}</span>
247247
</code></pre></div>
248248
</div></p>

reference/stop_token/stop_source/op_assign.html

Lines changed: 4 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="2025-07-11T17:16:44">
204-
2025年07月11日 17時16分44秒
203+
<span itemprop="datePublished" content="2026-03-02T12:13:26">
204+
2026年03月02日 12時13分26秒
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">suomesta</span>
209209
</span>
210210
が更新
211211
</small></p>
@@ -237,7 +237,7 @@ <h2>概要</h2>
237237
<h2>効果</h2>
238238
<ul>
239239
<li>(1) : <code><a href="op_constructor.html">stop_source</a>(r).<a href="swap.html">swap</a>(*this)</code>。これによって <code>*this == r</code> となる。</li>
240-
<li>(2) : <code><a href="op_constructor.html">stop_source</a>(std::<a href="../../utility/move.html">move</a>(r)).<a href="swap.html">swap</a>(*this)</code>。これによって、<code>r.<a href="stop_possible.html">stop_possible()</a> == true</code> となる。</li>
240+
<li>(2) : <code><a href="op_constructor.html">stop_source</a>(std::<a href="../../utility/move.html">move</a>(r)).<a href="swap.html">swap</a>(*this)</code>。これによって、<code>r.<a href="stop_possible.html">stop_possible()</a> == false</code> となる。</li>
241241
</ul>
242242
<h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a></h2>
243243
<p><code>*this</code></p>

reference/stop_token/stop_source/op_constructor.html

Lines changed: 4 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="2025-11-18T06:51:48">
204-
2025年11月18日 06時51分48秒
203+
<span itemprop="datePublished" content="2026-03-02T12:14:38">
204+
2026年03月02日 12時14分38秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
208-
<span itemprop="name">Akira Takahashi</span>
208+
<span itemprop="name">suomesta</span>
209209
</span>
210210
が更新
211211
</small></p>
@@ -242,7 +242,7 @@ <h2><a class="cpprefjp-defined-word" data-desc="関数等の意味論を構成
242242
<ul>
243243
<li>(1) : <code><a href="stop_possible.html">stop_possible()</a> == true</code> かつ<code><a href="stop_requested.html">stop_requested()</a> == false</code></li>
244244
<li>(2) : <code><a href="stop_possible.html">stop_possible()</a> == false</code> かつ<code><a href="stop_requested.html">stop_requested()</a> == false</code></li>
245-
<li>(2) : <code>*this == rhs</code>。(<code>rhs</code>が停止状態を所有していれば、<code>*this</code><code>rhs</code>は同じ停止状態を共有するようになる)</li>
245+
<li>(3) : <code>*this == rhs</code>。(<code>rhs</code>が停止状態を所有していれば、<code>*this</code><code>rhs</code>は同じ停止状態を共有するようになる)</li>
246246
<li>(4) : もし<code>rhs</code>が停止状態を所有していればその所有権が<code>*this</code>へ移動し、<code>rhs.<a href="stop_possible.html">stop_possible()</a> == false</code>となる。</li>
247247
</ul>
248248
<h2><a class="cpprefjp-defined-word" data-desc="問題が発生したときに、現在実行位置を過去に通過・記録した位置に戻し、文脈情報を添えて紐づけられた処理(例外ハンドラー)を呼び出す仕組み。またはその事態">例外</a></h2>

reference/stop_token/stop_token/op_assign.html

Lines changed: 4 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="2025-07-11T17:16:44">
204-
2025年07月11日 17時16分44秒
203+
<span itemprop="datePublished" content="2026-03-02T12:13:26">
204+
2026年03月02日 12時13分26秒
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">suomesta</span>
209209
</span>
210210
が更新
211211
</small></p>
@@ -237,7 +237,7 @@ <h2>概要</h2>
237237
<h2>効果</h2>
238238
<ul>
239239
<li>(1) : <code><a href="op_constructor.html">stop_token</a>(r).<a href="swap.html">swap</a>(*this)</code>。これによって <code>*this == r</code> となる。</li>
240-
<li>(2) : <code><a href="op_constructor.html">stop_token</a>(std::<a href="../../utility/move.html">move</a>(r)).<a href="swap.html">swap</a>(*this)</code>。これによって、<code>r.<a href="stop_possible.html">stop_possible()</a> == true</code> となる。</li>
240+
<li>(2) : <code><a href="op_constructor.html">stop_token</a>(std::<a href="../../utility/move.html">move</a>(r)).<a href="swap.html">swap</a>(*this)</code>。これによって、<code>r.<a href="stop_possible.html">stop_possible()</a> == false</code> となる。</li>
241241
</ul>
242242
<h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a></h2>
243243
<p><code>*this</code></p>

0 commit comments

Comments
 (0)