std::execution::into_variant

Header: <execution>

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.

# Declarations

execution::sender auto into_variant( execution::sender auto snd );

(since C++26)

# Parameters

# 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.