Skip to content

[exec.split], [exec.when.all] Fix typo stop_callback_of_t -> stop_callback_for_t #7295

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

Merged
merged 1 commit into from
Oct 8, 2024
Merged
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
4 changes: 2 additions & 2 deletions source/exec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3690,7 +3690,7 @@
template<class Sndr, class Rcvr>
struct @\exposid{local-state}@ : @\exposid{local-state-base}@ { // \expos
using @\exposid{on-stop-callback}@ = // \expos
stop_callback_of_t<stop_token_of_t<env_of_t<Rcvr>>, @\exposid{on-stop-request}@>;
stop_callback_for_t<stop_token_of_t<env_of_t<Rcvr>>, @\exposid{on-stop-request}@>;

@\exposid{local-state}@(Sndr&& sndr, Rcvr& rcvr) noexcept;
~@\exposid{local-state}@();
Expand Down Expand Up @@ -4126,7 +4126,7 @@
auto operator()(auto, auto, Sndrs&&... sndrs) const {
using values_tuple = @\seebelow@;
using errors_variant = @\seebelow@;
using stop_callback = stop_callback_of_t<stop_token_of_t<env_of_t<Rcvr>>, @\exposid{on-stop-request}@>;
using stop_callback = stop_callback_for_t<stop_token_of_t<env_of_t<Rcvr>>, @\exposid{on-stop-request}@>;

struct @\exposid{state-type}@ {
void @\exposid{arrive}@(Rcvr& rcvr) noexcept { // \expos
Expand Down
Loading