File indexing completed on 2025-01-18 09:42:39
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_MYSQL_DETAIL_REBIND_EXECUTOR_HPP
0009 #define BOOST_MYSQL_DETAIL_REBIND_EXECUTOR_HPP
0010
0011 #include <boost/asio/ssl/stream.hpp>
0012
0013 namespace boost {
0014 namespace mysql {
0015 namespace detail {
0016
0017
0018 template <class Stream, class Executor>
0019 struct rebind_executor
0020 {
0021 using type = typename Stream::template rebind_executor<Executor>::other;
0022 };
0023
0024 template <class Stream, class Executor>
0025 struct rebind_executor<boost::asio::ssl::stream<Stream>, Executor>
0026 {
0027 using type = boost::asio::ssl::stream<typename rebind_executor<Stream, Executor>::type>;
0028 };
0029
0030 }
0031 }
0032 }
0033
0034 #endif