2017-07-08 15:12:26 -07:00
|
|
|
//
|
2019-02-21 07:00:31 -08:00
|
|
|
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
|
2017-07-08 15:12:26 -07:00
|
|
|
//
|
|
|
|
|
// 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)
|
|
|
|
|
//
|
2017-07-20 13:40:34 -07:00
|
|
|
// Official repository: https://github.com/boostorg/beast
|
|
|
|
|
//
|
2017-07-08 15:12:26 -07:00
|
|
|
|
|
|
|
|
// Test that header file is self-contained.
|
2017-07-20 13:40:34 -07:00
|
|
|
#include <boost/beast/http/vector_body.hpp>
|
2019-04-20 00:55:52 +02:00
|
|
|
#include <cstddef>
|
2017-07-08 15:12:26 -07:00
|
|
|
|
2017-07-20 13:40:34 -07:00
|
|
|
namespace boost {
|
2017-07-08 15:12:26 -07:00
|
|
|
namespace beast {
|
|
|
|
|
namespace http {
|
|
|
|
|
|
|
|
|
|
BOOST_STATIC_ASSERT(is_body<vector_body<char>>::value);
|
|
|
|
|
BOOST_STATIC_ASSERT(is_body_writer<vector_body<char>>::value);
|
2017-10-30 17:08:52 -07:00
|
|
|
BOOST_STATIC_ASSERT(is_body_reader<vector_body<char>>::value);
|
2017-07-08 15:12:26 -07:00
|
|
|
|
2019-04-20 00:55:52 +02:00
|
|
|
#if __cpp_lib_byte >= 201603
|
|
|
|
|
BOOST_STATIC_ASSERT(is_body<vector_body<std::byte>>::value);
|
|
|
|
|
BOOST_STATIC_ASSERT(is_body_writer<vector_body<std::byte>>::value);
|
|
|
|
|
BOOST_STATIC_ASSERT(is_body_reader<vector_body<std::byte>>::value);
|
|
|
|
|
#endif
|
|
|
|
|
|
2017-07-08 15:12:26 -07:00
|
|
|
} // http
|
|
|
|
|
} // beast
|
2017-07-20 13:40:34 -07:00
|
|
|
} // boost
|