// // Copyright (c) 2019-2020 Ruben Perez Hidalgo (rubenperez038 at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include "boost/mysql/resultset.hpp" #include #include namespace { TEST(ResultsetTest, RebindExecutor_Trivial_ReturnsCorrectType) { using other_executor = boost::asio::strand; using rebound_type = boost::mysql::tcp_resultset::rebind_executor::other; using expected_type = boost::mysql::resultset< boost::asio::basic_stream_socket< boost::asio::ip::tcp, other_executor > >; EXPECT_TRUE((std::is_same::value)); } }