pika
pika copied to clipboard
Allow `(unique_)any_sender` to have any set of completion signatures
Our implementation is currently limited to hold only one set of values sent from a wrapped sender. If the internal any_receiver_impl::set_value would instead accept a variant of tuples it would still not need to be templated but could support multiple sets of values sent from the predecessor. We could probably also have real deduction guides for the (unique_)any_sender constructors instead of make(_unique)_any_sender.
I think this makes most sense once we require C++20 and only use the P2300 reference implementation. Then we can simply put completion_signatures into the any_sender template parameters.