chriskohlhoff / asio

Asio C++ Library
http://think-async.com/Asio
4.72k stars 1.19k forks source link

`ssl::stream` doesn't have `rebind_executor` as an inner type. #1412

Open ashtum opened 5 months ago

ashtum commented 5 months ago

The following code fails to compile: https://godbolt.org/z/1fMMTd6xe

#include <boost/asio.hpp>
#include <boost/asio/ssl.hpp>

using namespace boost;

using stream_t = asio::deferred_t::as_default_on_t<asio::ssl::stream<asio::ip::tcp::socket>>;