std::execution::into_variant
来自 cppreference.cn
定义于头文件 <execution> |
||
execution::sender auto into_variant( execution::sender auto snd ); |
(C++26 起) | |
[edit] 参数
snd | - | 输入发送器,根据运行时条件可以发送多组值。 |
[edit] 返回值
返回一个发送器,它发送一个变体,其中包含输入发送器发送的所有可能类型集的元组。该辅助函数将它们转换为单个变体值。