Defined in header <execution> | ||
struct just_t{/*unspecified*/}; | (1) | (since C++26) |
inlineconstexpr just_t just{}; | (2) | (since C++26) (customization point object) |
Call signature | ||
execution::senderauto just(auto&&...values); | (since C++26) | |
A sender factory that returns a sender which completes immediately by calling the receiver’sset_value().
Letts be a pack of subexpressions. The expressionjust(ts...) isexpression-equivalent to/*make-sender*/(just,/*product-type*/(ts...))
The nameexecution::just denotes acustomization point object, which is a constfunction object of aliteralsemiregular class type. The cv-unqualified version of its type is a tag type denoted asexecution::just_t. SeeCustomizationPointObject for details.
| This section is incomplete Reason: no example |