std::execut...ed_as_error(3)
πΈ NAME πΈ
okay so bestie, this is std::execut...ed_as_error(3) from the C++ Standard Library manual β and it's literally all about std::execution::stopped_as_error π«Ά
std::execution::stopped_as_error β std::execution::stopped_as_error
β¨ Synopsis β¨
Defined in header <execution> π
template<move_constructible Error>
execution::sender auto stopped_as_error(
execution::sender auto snd, (since C++26)
Error err
);
she's giving C++26, periodt π₯
π Parameters π
sndβ the input sender whose stopped channel gets mapped intoerrπerrβ the error that the stop channel gets mapped into π―
π Return value π
Returns a sender that maps the stopped channel to an error of err β¨
and that's the whole vibe, bestie π source/version: cppreference.com, dated 2024.06.10 β mwah, slay, go map those stopped channels π¦π
π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms