std::execution::just_stopped
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Execution control library
just_stopped
Defined in header
<execution>
inline constexpr just_stopped_t just_stopped{};
struct just_stopped_t { /*unspecified*/ };
(since C++26) struct just_stopped_t { /*unspecified*/ };
(customization point object)
Call signature
execution::sender auto just_stopped();
(since C++26)
A sender factory that returns a sender which completes immediately by calling the receiver’s set_stopped()
.
The expression just_stopped() is expression-equivalent to /*make-sender*/(just_stopped)
Customization point objects
The name execution::just_stopped
denotes a customization point object, which is a const function object of a literal semiregular
class type. The cv-unqualified version of its type is a tag type denoted as execution::just_stopped_t
. See CustomizationPointObject for details.
[edit] Example
This section is incomplete
Reason: no example
Reason: no example