Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix concept markup #7515

Merged
merged 3 commits into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading
Loading