Skip to content

Commit

Permalink
[exec] Add missing \libconcept markup
Browse files Browse the repository at this point in the history
  • Loading branch information
jensmaurer authored and tkoeppe committed Jan 2, 2025
1 parent 444eb2b commit 6e1d718
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/exec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1701,7 +1701,7 @@
return @\exposid{impls-for}@<Tag>::@\exposid{get-attrs}@(data, child...);
}

template<@\exposconcept{decays-to}@<@\exposid{basic-sender}@> Self, receiver Rcvr>
template<@\exposconcept{decays-to}@<@\exposid{basic-sender}@> Self, @\libconcept{receiver}@ Rcvr>
auto connect(this Self&& self, Rcvr rcvr) noexcept(@\seebelow@)
-> @\exposid{basic-operation}@<Self, Rcvr> {
return {std::forward<Self>(self), std::move(rcvr)};
Expand Down Expand Up @@ -1735,7 +1735,7 @@
\begin{codeblock}
is_nothrow_move_constructible_v<Rcvr> &&
@\exposconcept{nothrow-callable}@<decltype(@\exposid{impls-for}@<tag_of_t<Sndr>>::@\exposid{get-state}@), Sndr, Rcvr&> &&
(same_as<@\exposid{state-type}@<Sndr, Rcvr>, @\exposid{get-state-result}@> ||
(@\libconcept{same_as}@<@\exposid{state-type}@<Sndr, Rcvr>, @\exposid{get-state-result}@> ||
is_nothrow_constructible_v<@\exposid{state-type}@<Sndr, Rcvr>, @\exposid{get-state-result}@>)
\end{codeblock}
where \exposid{get-state-result} is
Expand Down Expand Up @@ -1931,7 +1931,7 @@

template<class Sndr>
concept @\defexposconcept{is-sender}@ = // \expos
derived_from<typename Sndr::sender_concept, sender_t>;
@\libconcept{derived_from}@<typename Sndr::sender_concept, sender_t>;

template<class Sndr>
concept @\defexposconcept{enable-sender}@ = // \expos
Expand Down Expand Up @@ -5022,7 +5022,7 @@
\pnum
\begin{example}
\begin{codeblock}
template<sender Sndr>
template<@\libconcept{sender}@ Sndr>
sender auto parameterize_work(Sndr sndr) {
// Make an environment such that \tcode{get_allocator(env)} returns a reference to a copy of \tcode{my_alloc\{\}}.
auto e = prop(get_allocator, my_alloc{});
Expand Down Expand Up @@ -5075,7 +5075,7 @@
\pnum
\begin{example}
\begin{codeblock}
template<sender Sndr>
template<@\libconcept{sender}@ Sndr>
sender auto parameterize_work(Sndr sndr) {
// Make an environment such that:
// \tcode{get_allocator(env)} returns a reference to a copy of \tcode{my_alloc\{\}}
Expand Down

0 comments on commit 6e1d718

Please sign in to comment.