Skip to content

Commit 182be6f

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent da546e5 commit 182be6f

File tree

8 files changed

+1250
-180
lines changed

8 files changed

+1250
-180
lines changed

reference/execution/execution.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="2025-05-10T14:27:12">
192-
2025年05月10日 14時27分12秒
191+
<span itemprop="datePublished" content="2025-05-12T15:44:48">
192+
2025年05月12日 15時44分48秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -588,8 +588,8 @@ <h3>Senderアダプタ</h3>
588588
<td>C++26</td>
589589
</tr>
590590
<tr>
591-
<td><code><span href="https://cpprefjp.github.io/reference/execution/execution/on.md.nolink">execution::on</span></code></td>
592-
<td>指定Scheduler上で実行する (customization point object)</td>
591+
<td><code><a href="execution/on.html">execution::on</a></code></td>
592+
<td>指定Senderのみ別Scheduler上で実行する (customization point object)</td>
593593
<td>C++26</td>
594594
</tr>
595595
<tr>

reference/execution/execution/on.html

Lines changed: 490 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 277 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,277 @@
1+
<!doctype html>
2+
<html class="cpprefjp" lang="ja" itemscope="" itemtype="http://schema.org/WebPage">
3+
<head>
4+
5+
6+
<!-- Google tag (gtag.js) -->
7+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NXNBNVBTJS"></script>
8+
<script>
9+
window.dataLayer = window.dataLayer || [];
10+
function gtag(){dataLayer.push(arguments);}
11+
gtag('js', new Date());
12+
13+
gtag('config', 'G-NXNBNVBTJS');
14+
</script>
15+
16+
17+
<meta charset="UTF-8">
18+
19+
<title>query-with-default - cpprefjp C++日本語リファレンス</title>
20+
21+
<meta name="viewport" content="width=device-width,initial-scale=1">
22+
<meta name="keywords" content="
23+
C++,標準ライブラリ,リファレンス,ドキュメント,STL,std,execution,function template,std::execution,cpp26
24+
">
25+
<meta name="title" content="query-with-default - cpprefjp C++日本語リファレンス" />
26+
<meta itemprop="name" content="query-with-default - cpprefjp C++日本語リファレンス" />
27+
<meta property="og:title" content="query-with-default - cpprefjp C++日本語リファレンス" />
28+
<meta property="og:url" content="https://cpprefjp.github.io/reference/execution/execution/query-with-default.html" />
29+
<meta property="og:site_name" content="cpprefjp - C++日本語リファレンス" />
30+
<meta property="og:type" content="article" />
31+
<meta property="og:description" content="`query-with-default`は、実行制御ライブラリの仕様定義で用いられる説明専用の関数テンプレートである。" />
32+
<meta name="twitter:card" content="summary" />
33+
<meta name="twitter:title" content="query-with-default - cpprefjp C++日本語リファレンス" />
34+
<meta name="twitter:url" content="https://cpprefjp.github.io/reference/execution/execution/query-with-default.html" />
35+
<meta name="twitter:description" content="`query-with-default`は、実行制御ライブラリの仕様定義で用いられる説明専用の関数テンプレートである。" />
36+
37+
38+
<link rel="alternate" type="application/atom+xml" title="Atom" href="https://cpprefjp.github.io/rss.xml" />
39+
40+
41+
<link rel="apple-touch-icon" sizes="180x180" href="../../../static/favicons/apple-touch-icon.png?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e">
42+
<link rel="icon" type="image/png" sizes="32x32" href="../../../static/favicons/favicon-32x32.png?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e">
43+
<link rel="icon" type="image/png" sizes="16x16" href="../../../static/favicons/favicon-16x16.png?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e">
44+
<link rel="manifest" href="../../../manifest.json?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e">
45+
<meta name="theme-color" content="#f5f8fc">
46+
47+
<link rel="stylesheet" href="../../../static/pygments/default.css?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e">
48+
<!-- <link rel="stylesheet" href="../../../static/css/root.css"> -->
49+
50+
51+
52+
53+
54+
<link href="../../../static/kunai/css/kunai-stage-0.css?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e" rel="stylesheet">
55+
<link href="../../../static/kunai/css/kunai-stage-1.css?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e" rel="stylesheet">
56+
<link href="../../../static/kunai/css/kunai-stage-2.css?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e" rel="stylesheet">
57+
<link href="../../../static/kunai/css/kunai-stage-3.css?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e" rel="stylesheet">
58+
59+
<script type="text/javascript" src="../../../static/kunai/js/kunai-vendor.js?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e"></script>
60+
<script type="text/javascript" src="../../../static/kunai/js/kunai.js?cachebust=2a7ddc62f9c987d65760cb7e6115f210c1266a7e"></script>
61+
62+
<script type="text/javascript">
63+
document.addEventListener('DOMContentLoaded', function() {
64+
var kn = new Kunai;
65+
kn.cpprefjp();
66+
});
67+
</script>
68+
69+
</head>
70+
<body>
71+
<header data-kunai-mdinfo="{&#34;meta&#34;: {&#34;header&#34;: [&#34;execution&#34;], &#34;id-type&#34;: [&#34;function template&#34;], &#34;namespace&#34;: [&#34;std::execution&#34;], &#34;cpp&#34;: [&#34;cpp26&#34;]}, &#34;sources&#34;: [], &#34;page_id&#34;: [&#34;reference&#34;, &#34;execution&#34;, &#34;execution&#34;, &#34;query-with-default&#34;]}">
72+
<nav class="navbar navbar-default" role="navigation">
73+
<div class="container-fluid">
74+
<div class="navbar-header">
75+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
76+
<span class="sr-only">Toggle navigation</span>
77+
<span class="icon-bar"></span>
78+
<span class="icon-bar"></span>
79+
<span class="icon-bar"></span>
80+
</button>
81+
<a class="navbar-brand" href="../../../index.html">
82+
<div class="title-wrapper clearfix">
83+
<div class="title">cpprefjp - C++日本語リファレンス</div>
84+
</div>
85+
</a>
86+
</div>
87+
88+
<div class="collapse navbar-collapse" id="navbar-collapse">
89+
<ul class="nav navbar-nav navbar-right">
90+
<li>
91+
<div class="google-search">
92+
93+
94+
<script>
95+
(function() {
96+
var cx = '013316413321391058734:ji_u66hl7hq';
97+
var gcse = document.createElement('script');
98+
gcse.type = 'text/javascript';
99+
gcse.async = true;
100+
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
101+
'//www.google.com/cse/cse.js?cx=' + cx;
102+
var s = document.getElementsByTagName('script')[0];
103+
s.parentNode.insertBefore(gcse, s);
104+
})();
105+
</script>
106+
<div class="gcse-search"></div>
107+
108+
109+
</div>
110+
</li>
111+
<li>
112+
<a href="https://github.com/cpprefjp/site">GitHub Project</a>
113+
</li>
114+
</ul>
115+
</div>
116+
</div>
117+
</nav>
118+
</header>
119+
120+
<main id="main" role="main">
121+
<div class="container-fluid">
122+
<div class="row">
123+
<div class="col-sm-9 col-sm-push-3" itemscope itemtype="http://schema.org/Article">
124+
<div class="row">
125+
<div class="col-sm-12 google-search-result">
126+
<gcse:searchresults></gcse:searchresults>
127+
</div>
128+
</div>
129+
<div class="row">
130+
<div class="col-sm-12 content-header">
131+
132+
<ol class="breadcrumb">
133+
134+
<li itemscope itemtype="http://www.schema.org/SiteNavigationElement">
135+
<span>
136+
137+
<a href="../../../index.html" itemprop="url">
138+
139+
<i class="fa fa-fw fa-home"></i>
140+
141+
</a>
142+
143+
</span>
144+
</li>
145+
146+
<li itemscope itemtype="http://www.schema.org/SiteNavigationElement">
147+
<span>
148+
149+
<a href="../../../reference.html" itemprop="url">
150+
151+
<span itemprop="name">リファレンス</span>
152+
153+
</a>
154+
155+
</span>
156+
</li>
157+
158+
<li itemscope itemtype="http://www.schema.org/SiteNavigationElement">
159+
<span>
160+
161+
<a href="../../../reference/execution.html" itemprop="url">
162+
163+
<span itemprop="name">execution</span>
164+
165+
</a>
166+
167+
</span>
168+
</li>
169+
170+
<li itemscope itemtype="http://www.schema.org/SiteNavigationElement">
171+
<span>
172+
173+
<a href="../../../reference/execution/execution.html" itemprop="url">
174+
175+
<span itemprop="name">execution</span>
176+
177+
</a>
178+
179+
</span>
180+
</li>
181+
182+
<li class="active" itemscope itemtype="http://www.schema.org/SiteNavigationElement">
183+
<span>
184+
185+
186+
<span itemprop="name">query-with-default</span>
187+
188+
189+
</span>
190+
</li>
191+
192+
</ol>
193+
<div class="crsearch"></div>
194+
195+
</div>
196+
</div>
197+
<div class="row">
198+
<div class="col-sm-12 edit-button">
199+
200+
201+
<p class="text-right"><small>
202+
最終更新日時(UTC):
203+
<span itemprop="datePublished" content="2025-05-12T15:44:48">
204+
2025年05月12日 15時44分48秒
205+
</span>
206+
<br/>
207+
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
208+
<span itemprop="name">yoh</span>
209+
</span>
210+
が更新
211+
</small></p>
212+
213+
214+
<p class="text-right">
215+
<a class="history" target="_blank" href="https://github.com/cpprefjp/site/commits/master/reference/execution/execution/query-with-default.md">
216+
<span class="fa fa-fw fa-clock-o fa-flip-horizontal"></span>履歴
217+
</a>
218+
<a class="edit" target="_blank" href="https://github.com/cpprefjp/site/edit/master/reference/execution/execution/query-with-default.md">
219+
<span class="fa fa-fw fa-pencil"></span>編集
220+
</a>
221+
</p>
222+
</div>
223+
</div>
224+
<div class="row">
225+
<div class="col-sm-12 content-body">
226+
227+
<div class="identifier-type">function template</div><div class="header">&lt;execution&gt;</div><h1 itemprop="name"><span class="namespace" title="namespace std::execution">std::execution::</span><span class="token">query-with-default</span><span class="cpp cpp26" title="C++26で追加">(C++26)</span></h1>
228+
<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">Tag</span><span class="p">,</span> <span class="k">class</span> <span class="nc">Env</span><span class="p">,</span> <span class="k">class</span> <span class="nc">Default</span><span class="o">&gt;</span>
229+
<span class="k">constexpr</span> <span class="n"><a href="../../../lang/cpp14/decltype_auto.html">decltype(auto)</a></span> <span class="n">query</span><span class="o">-</span><span class="n">with</span><span class="o">-</span><span class="k">default</span><span class="p">(</span>
230+
<span class="n">Tag</span><span class="p">,</span> <span class="k">const</span> <span class="n">Env</span><span class="o">&amp;</span> <span class="n">env</span><span class="p">,</span> <span class="n">Default</span><span class="o">&amp;&amp;</span> <span class="n">value</span><span class="p">)</span> <span class="k">noexcept</span><span class="p">(</span><span class="n"><i>see below</i></span><span class="p">);</span>
231+
</code></pre></div>
232+
</p>
233+
<h2>概要</h2>
234+
<p><code>query-with-default</code>は、実行制御ライブラリの仕様定義で用いられる説明専用の関数テンプレートである。</p>
235+
<p>説明用の式<code>e</code>を、<a class="cpprefjp-defined-word" data-desc="プログラムが文法規則・診断対象の意味規則・単一定義規則を満たすこと" href="../../../implementation-compliance.html#dfn-well-formed">適格</a>であるならば<code>Tag()(env)</code>とする。そうでなければ、<code>staitc_cast&lt;Default&gt;(<a href="../../utility/forward.html">std::forward</a>&lt;Default&gt;(value))</code>とする。</p>
236+
<h2><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a></h2>
237+
<p><code>e</code>を返す。</p>
238+
<h2>備考</h2>
239+
<p>noexcept節の式は<code>noexcept(e)</code>となる。</p>
240+
<h2>バージョン</h2>
241+
<h3>言語</h3>
242+
<ul>
243+
<li>C++26</li>
244+
</ul>
245+
<h2>関連項目</h2>
246+
<ul>
247+
<li><code><a href="on.html">execution::on</a></code></li>
248+
</ul>
249+
<h2>参照</h2>
250+
<ul>
251+
<li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2999r3.html" target="_blank">P2999R3 Sender Algorithm Customization</a></li>
252+
<li><a href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p2300r10.html" target="_blank">P2300R10 <code>std::execution</code></a></li>
253+
</ul></div>
254+
255+
</div>
256+
</div>
257+
</div>
258+
259+
260+
<div id="sidebar" class="col-sm-3 col-sm-pull-9">
261+
</div>
262+
263+
264+
</div>
265+
</div>
266+
</main>
267+
<footer class="footer navbar navbar-default">
268+
<div class="container-fluid">
269+
<p><small>
270+
本サイトの情報は、
271+
<a href="https://creativecommons.org/licenses/by/3.0/deed.ja" rel="nofollow">クリエイティブ・コモンズ 表示 3.0 非移植 ライセンス(CC BY)</a>
272+
の下に提供されています。
273+
</small></p>
274+
</div>
275+
</footer>
276+
</body>
277+
</html>

reference/execution/execution/starts_on.html

Lines changed: 4 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="2025-05-10T14:27:12">
204-
2025年05月10日 14時27分12秒
203+
<span itemprop="datePublished" content="2025-05-12T15:44:48">
204+
2025年05月12日 15時44分48秒
205205
</span>
206206
<br/>
207207
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -272,7 +272,7 @@ <h2>カスタマイゼーションポイント</h2>
272272
<a href="default_domain.html">デフォルト実行ドメイン</a>では<code>starts_on.transform_sender(out_sndr, env)</code>が呼ばれ、前述仕様通りのSenderへと変換される。</p>
273273
<p>説明用の式<code>out_sndr</code><code>starts_on(sch, sndr)</code><a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a><a href="sender.html">Sender</a>とし、型<code>OutSndr</code><code>decltype((out_sndr))</code>とする。式<code>out_rcvr</code><code><a href="sender_in.html">sender_in</a>&lt;OutSndr, Env&gt; == true</code>となる<a href="../queryable.html">環境</a><code>Env</code>に関連付けられた<a href="receiver.html">Receiver</a>とする。<code>out_sndr</code><code>out_rcvr</code>との<a href="connect.html">接続(connect)</a>結果<a href="operation_state.html">Operation State</a>への左辺値参照を<code>op</code>としたとき、</p>
274274
<ul>
275-
<li>呼び出し<code><a href="start.html">start</a>(op)</code>は、<a href="scheduler.html">Scheduler</a><code>sch</code>に関連づけられた実行リソースに属する実行エージェント上で入力<a href="sender.html">Sender</a><code>sndr</code>を開始すべき。</li>
275+
<li>呼び出し<code><a href="start.html">start</a>(op)</code>は、<a href="scheduler.html">Scheduler</a><code>sch</code>に関連付けられた実行リソースに属する実行エージェント上で入力<a href="sender.html">Sender</a><code>sndr</code>を開始すべき。</li>
276276
<li><code>sch</code>上でのスケジューリングが失敗した場合、<a class="cpprefjp-defined-word" data-desc="未規定の動作。事前の断りなく処理系によって異なる動作をする" href="../../../implementation-compliance.html#dfn-unspecified-behavior">未規定</a>の実行エージェント上で<code>out_rcvr</code><a href="set_error.html">エラー完了</a>が行われるべき。</li>
277277
</ul>
278278
<h2></h2>
@@ -328,7 +328,7 @@ <h2>関連項目</h2>
328328
<ul>
329329
<li><code><a href="schedule.html">execution::schedule</a></code></li>
330330
<li><code><span href="https://cpprefjp.github.io/reference/execution/execution/continues_on.md.nolink">execution::continues_on</span></code></li>
331-
<li><code><span href="https://cpprefjp.github.io/reference/execution/execution/on.md.nolink">execution::on</span></code></li>
331+
<li><code><a href="on.html">execution::on</a></code></li>
332332
</ul>
333333
<h2>参照</h2>
334334
<ul>

0 commit comments

Comments
 (0)