chriskohlhoff / asio

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

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

Open ashtum opened 10 months ago

ashtum commented 10 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>>;