// // 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 "network_functions_impl.hpp" #include // for BOOST_ASIO_HAS_CO_AWAIT using namespace boost::mysql::test; template std::vector*> boost::mysql::test::make_all_network_functions() { return { sync_errc_functions(), sync_exc_functions(), async_callback_errinfo_functions(), async_callback_noerrinfo_functions(), async_coroutine_errinfo_functions(), async_coroutine_noerrinfo_functions(), async_future_errinfo_functions(), async_future_noerrinfo_functions(), #ifdef BOOST_ASIO_HAS_CO_AWAIT async_coroutinecpp20_errinfo_functions(), async_coroutinecpp20_noerrinfo_functions() #endif }; } // We implement a single variant for default completion tokens // Others do not add any value template <> std::vector*> boost::mysql::test::make_all_network_functions() { return { async_future_errinfo_functions(), async_future_noerrinfo_functions(), }; } template std::vector*> boost::mysql::test::make_all_network_functions(); #ifdef BOOST_ASIO_HAS_LOCAL_SOCKETS template std::vector*> boost::mysql::test::make_all_network_functions(); #endif