Skip to content

Inconsistent use of std::execution::get_stop_token and std::get_stop_token #221

Open
@lewissbaker

Description

@lewissbaker

There are several sections that refer to std::execution::get_stop_token() as the CPO to call to obtain a stoppable_token from an environment.

However, the wording currently has this CPO defined as std::get_stop_token().
See https://cplusplus.github.io/sender-receiver/execution.html#spec-execution.syn

We should make sure to be consistent between examples and wording.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lewissbaker

        Issue actions

          Inconsistent use of `std::execution::get_stop_token` and `std::get_stop_token` · Issue #221 · cplusplus/sender-receiver