There is a bug in dereferencing exceptions_ptr in awaitable_async_op_handler<R(std::exception_ptr, Ts...), Executor> and awaitable_async_op_handler<R(std::exception_ptr, T), Executor>
It tries to dereference strcut result_type instead of exceptions_ptr;
There is a bug in dereferencing exceptions_ptr in
awaitable_async_op_handler<R(std::exception_ptr, Ts...), Executor>
andawaitable_async_op_handler<R(std::exception_ptr, T), Executor>
It tries to dereference
strcut result_type
instead of exceptions_ptr;https://github.com/chriskohlhoff/asio/blob/a71f5232d207b4f3bbd253eb1041e30b5e4ea606/asio/include/asio/impl/awaitable.hpp#L955 https://github.com/chriskohlhoff/asio/blob/a71f5232d207b4f3bbd253eb1041e30b5e4ea606/asio/include/asio/impl/awaitable.hpp#L1070