Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:29:22

0001 //
0002 // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // Official repository: https://github.com/boostorg/beast
0008 //
0009 
0010 #ifndef BOOST_BEAST_TEST_IMPL_ERROR_HPP
0011 #define BOOST_BEAST_TEST_IMPL_ERROR_HPP
0012 
0013 #include <boost/beast/core/error.hpp>
0014 #include <boost/beast/core/string.hpp>
0015 #include <type_traits>
0016 
0017 namespace boost {
0018 namespace system {
0019 template<>
0020 struct is_error_code_enum<
0021     boost::beast::test::error>
0022         : std::true_type
0023 {
0024 };
0025 } // system
0026 } // boost
0027 
0028 namespace boost {
0029 namespace beast {
0030 namespace test {
0031 
0032 BOOST_BEAST_DECL
0033 error_code
0034 make_error_code(error e) noexcept;
0035 
0036 } // test
0037 } // beast
0038 } // boost
0039 
0040 #endif