// // Copyright (c) 2013-2016 Vinnie Falco (vinnie dot falco 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) // // Test that header file is self-contained. #include #include namespace beast { using stream_type = boost::asio::ip::tcp::socket; static_assert(has_get_io_service::value, ""); static_assert(is_AsyncReadStream::value, ""); static_assert(is_AsyncWriteStream::value, ""); static_assert(is_AsyncStream::value, ""); static_assert(is_SyncReadStream::value, ""); static_assert(is_SyncWriteStream::value, ""); static_assert(is_SyncStream::value, ""); static_assert(! has_get_io_service::value, ""); static_assert(! is_AsyncReadStream::value, ""); static_assert(! is_AsyncWriteStream::value, ""); static_assert(! is_SyncReadStream::value, ""); static_assert(! is_SyncWriteStream::value, ""); } // beast