std::execution::into_variant

来自cppreference.com
< cpp‎ | execution
 
 
 
在标头 <execution> 定义
execution::sender auto into_variant( execution::sender auto snd );
(C++26 起)

[编辑] 参数

snd - 输入发送器,取决于运行时条件,可以发送多组值。

[编辑] 返回值

返回一个发送器,发送输入发送器所发送的所有可能类型集合的元组的变体。��个辅助函数将它们变为单个变体值。