pika icon indicating copy to clipboard operation
pika copied to clipboard

Allow `(unique_)any_sender` to have any set of completion signatures

Open msimberg opened this issue 3 years ago • 1 comments

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.

msimberg avatar Jul 05 '22 08:07 msimberg

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.

msimberg avatar Jul 21 '22 14:07 msimberg