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