asio
asio copied to clipboard
channel<void(asio::error_code)> does not compile
Minimal reproduction can be found here: https://godbolt.org/z/oq7dWs3Px
/opt/compiler-explorer/libs/boost_1_79_0/boost/asio/experimental/channel_traits.hpp:86:8: note: partial specialization matches [with R = void, Args = <>, Signatures = <>]
struct channel_traits<R(boost::system::error_code, Args...), Signatures...>
/opt/compiler-explorer/libs/boost_1_79_0/boost/asio/experimental/channel_traits.hpp:192:8: note: partial specialization matches [with R = void, T = boost::system::error_code]
struct channel_traits<R(T)>