std::execut...nto_variant(3)
okay so bestie, welcome to the std::execut...nto_variant(3) page from the C++ Standard Libary manual β itβs all about std::execution::into_variant and itβs giving very niche but very iconic C++ energy π
β¨
πΈ NAME πΈ
std::execution::into_variant β literally std::execution::into_variant. thatβs the name, no cap π«Ά
π¦ Synopsis π¦
hereβs the exact vibe check, bestie:
Defined in header <execution>
execution::sender auto into_variant(
execution::sender auto snd (since C++26)
);
π Parameters π
sndβ the input sender π«Ά. it can send multiple sets of values depending on runtime conditions, fr fr.
β¨ Return value β¨
Returns a sender that sends a variant of tuples of all the possible sets of types sent by the input sender. The helper function turns them into a single variant value π π₯
mwah π β shoutout to source http://cppreference.com, version/date 2024.06.10, and the std::execut...nto_variant(3) footer vibes. ππ«Ά
π¦ 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