]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/beast/test/beast/core/_detail_static_const.cpp
2 // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 // Official repository: https://github.com/boostorg/beast
10 // Test that header file is self-contained.
11 #include <boost/beast/core/detail/static_const.hpp>
13 #include <boost/beast/_experimental/unit_test/suite.hpp>
15 #include <boost/beast/core/close_socket.hpp>
22 void operator()() const noexcept
29 boost::beast::detail::static_const
<detail::close_socket_impl
>::value
;
31 class static_const_test
: public beast::unit_test::suite
41 BEAST_DEFINE_TESTSUITE(beast
,core
,static_const
);