You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.66 introduced an API breaking change in the constructor of io_context.
io_context takes an int while io_service took a std::size_t. Compare v1.66 and v1.65. This change breaks all code that stored a std::size_t which later got passed to the io_service constructor due to a now narrowing conversion.
@StephanDollberg commented on Feb 17, 2018, 8:57 PM UTC:
Hello,
1.66 introduced an API breaking change in the constructor of
io_context
.io_context
takes anint
whileio_service
took astd::size_t
. Compare v1.66 and v1.65. This change breaks all code that stored astd::size_t
which later got passed to theio_service
constructor due to a now narrowing conversion.I think this should either be fixed or noted on http://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/net_ts.html as
io_service
is not a strict typedef but a different type.For example, see microsoft/cpprestsdk#654.
thanks,
Stephan
This issue was moved by chriskohlhoff from boostorg/asio#89.
The text was updated successfully, but these errors were encountered: