Skip to content

Commit a2289f6

Browse files
committed
[exec.bulk, exec.spawn.future] Fix escaping and comment alignment
1 parent 9a06fbf commit a2289f6

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

source/exec.tex

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4225,7 +4225,7 @@
42254225

42264226
\begin{itemdecl}
42274227
template<class Sndr, class... Env>
4228-
static consteval void \exposid{check-types}();
4228+
static consteval void @\exposid{check-types}@();
42294229
\end{itemdecl}
42304230

42314231
\begin{itemdescr}
@@ -4254,7 +4254,7 @@
42544254
static constexpr auto @\exposid{complete}@ = @\seebelow@;
42554255

42564256
template<class Sndr, class... Env>
4257-
static consteval void \exposid{check-types}();
4257+
static consteval void @\exposid{check-types}@();
42584258
};
42594259
}
42604260
\end{codeblock}
@@ -5394,16 +5394,16 @@
53945394
\begin{codeblock}
53955395
namespace std::execution {
53965396
template<class Alloc, @\libconcept{scope_token}@ Token, @\libconcept{sender}@ Sender, class Env>
5397-
struct @\exposid{spawn-future-state}@ // \expos
5397+
struct @\exposidnc{spawn-future-state}@ // \expos
53985398
: @\exposid{spawn-future-state-base}@<completion_signatures_of_t<@\exposid{future-spawned-sender}@<Sender, Env>>> {
5399-
using @\exposid{sigs-t}@ = // \expos
5399+
using @\exposidnc{sigs-t}@ = // \expos
54005400
completion_signatures_of_t<@\exposid{future-spawned-sender}@<Sender, Env>>;
5401-
using @\exposid{receiver-t}@ = // \expos
5401+
using @\exposidnc{receiver-t}@ = // \expos
54025402
@\exposid{spawn-future-receiver}@<@\exposid{sigs-t}@>;
5403-
using @\exposid{op-t}@ = // \expos
5403+
using @\exposidnc{op-t}@ = // \expos
54045404
connect_result_t<@\exposid{future-spawned-sender}@<Sender, Env>, @\exposid{receiver-t}@>;
54055405

5406-
@\exposid{spawn-future-state}@(Alloc alloc, Sender&& sndr, Token token, Env env) // \expos
5406+
@\exposidnc{spawn-future-state}@(Alloc alloc, Sender&& sndr, Token token, Env env) // \expos
54075407
: @\exposid{alloc}@(std::move(alloc)),
54085408
@\exposid{op}@(connect(
54095409
write_env(@\exposid{stop-when}@(std::forward<Sender>(sndr), @\exposid{ssource}@.get_token()), std::move(env)),
@@ -5415,19 +5415,20 @@
54155415
set_stopped(@\exposid{receiver-t}@(this));
54165416
}
54175417

5418-
void @\exposid{complete}@() noexcept override; // \expos
5419-
void @\exposid{consume}@(@\libconcept{receiver}@ auto& rcvr) noexcept; // \expos
5420-
void @\exposid{abandon}@() noexcept; // \expos
5418+
void @\exposidnc{complete}@() noexcept override; // \expos
5419+
void @\exposidnc{consume}@(@\libconcept{receiver}@ auto& rcvr) noexcept; // \expos
5420+
void @\exposidnc{abandon}@() noexcept; // \expos
54215421

54225422
private:
5423-
using @\exposid{assoc-t}@ = remove_cvref_t<decltype(declval<Token&>().try_associate())>; // \expos
5423+
using @\exposidnc{assoc-t}@ = // \expos
5424+
remove_cvref_t<decltype(declval<Token&>().try_associate())>;
54245425

5425-
Alloc @\exposid{alloc}@; // \expos
5426-
@\exposid{ssource-t}@ @\exposid{ssource}@; // \expos
5427-
@\exposid{op-t}@ @\exposid{op}@; // \expos
5428-
@\exposid{assoc-t}@ @\exposid{assoc}@; // \expos
5426+
Alloc @\exposidnc{alloc}@; // \expos
5427+
@\exposidnc{ssource-t}@ @\exposidnc{ssource}@; // \expos
5428+
@\exposidnc{op-t}@ @\exposidnc{op}@; // \expos
5429+
@\exposidnc{assoc-t}@ @\exposidnc{assoc}@; // \expos
54295430

5430-
void @\exposid{destroy}@() noexcept; // \expos
5431+
void @\exposidnc{destroy}@() noexcept; // \expos
54315432
};
54325433

54335434
template<class Alloc, @\libconcept{scope_token}@ Token, @\libconcept{sender}@ Sender, class Env> // \expos

0 commit comments

Comments
 (0)