Open reddwarf69 opened 9 months ago
https://github.com/chriskohlhoff/asio/blob/ed5db1b50136bace796062c1a6eab0df9a74f8fa/asio/include/asio/experimental/impl/parallel_group.hpp#L476 moves the vector of arguments, but it doesn't move the completion_order vector, making it reject completion handlers with a std::vector<std::size_t>&& completion_order argument.
std::vector<std::size_t>&& completion_order
AFAICT the completion_order could also be std::moved.
https://github.com/chriskohlhoff/asio/blob/ed5db1b50136bace796062c1a6eab0df9a74f8fa/asio/include/asio/experimental/impl/parallel_group.hpp#L476 moves the vector of arguments, but it doesn't move the completion_order vector, making it reject completion handlers with a
std::vector<std::size_t>&& completion_order
argument.AFAICT the completion_order could also be std::moved.