asio icon indicating copy to clipboard operation
asio copied to clipboard

channel<void(asio::error_code)> does not compile

Open andrei-datcu opened this issue 3 years ago • 0 comments

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)>

andrei-datcu avatar Aug 06 '22 17:08 andrei-datcu