std::execution::just(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

🌸 std::execution::just

okay bestie, welcome to the std::execution::just(3) page from the C++ Standard Libary manual. yes, that's the manual name, we are not fixing the spelling, we are simply living with it. πŸ’… This one's a tiny page, but it's iconic.


✨ NAME ✨

std::execution::just β€” and the name line is literally std::execution::just - std::execution::just. no cap, that's the whole thing. πŸŽ€

πŸ“œ Synopsis

Defined in header <execution>, and it's giving C++26:

Defined in header <execution>
execution::sender auto just(

    auto ...&& values          (since C++26)

);

so the function signature is execution::sender auto just(auto ...&& values), and it's since C++26. slay. ✨

🫢 Parameters

  • values β€” input values which are decay-copied into the returned sender. πŸ“

πŸ‘‘ Return value

Returns a sender with no completion schedulers, which sends the provided values. that's the whole flex, fr fr. ✨


source/version: http://cppreference.com Β· date: 2024.06.10 Β· page: std::execution::just(3) β€” mwah, bye bestie! πŸ’–πŸŽ€

πŸ“¦ where this page comes from