boostorg / asio

Boost.org asio module
http://boost.org/libs/asio
1.25k stars 418 forks source link

Adding clang-14 coroutines support (second attempt) #398

Open ramblehead opened 2 years ago

ramblehead commented 2 years ago

In clang-14 <experimental/coroutine> is replaced by <coroutine>, thus need to add an additional clang version test macro to set BOOST_ASIO_HAS_CO_AWAIT correctly.

raldone01 commented 2 years ago

You might want to move the pr to https://github.com/chriskohlhoff/asio/pulls. It may be more monitored more actively.

k15tfu commented 1 year ago

It looks similar to https://github.com/chriskohlhoff/asio/issues/1138, and https://github.com/chriskohlhoff/asio/pull/1145.