Back to home page

EIC code displayed by LXR

 
 

    


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

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_IMPL_ERROR_HPP
0011 #define BOOST_BEAST_IMPL_ERROR_HPP
0012 
0013 #include <type_traits>
0014 
0015 namespace boost {
0016 namespace system {
0017 template<>
0018 struct is_error_code_enum<::boost::beast::error>
0019 {
0020     static bool const value = true;
0021 };
0022 template<>
0023 struct is_error_condition_enum<::boost::beast::condition>
0024 {
0025     static bool const value = true;
0026 };
0027 } // system
0028 } // boost
0029 
0030 namespace boost {
0031 namespace beast {
0032 
0033 BOOST_BEAST_DECL
0034 error_code
0035 make_error_code(error e);
0036 
0037 BOOST_BEAST_DECL
0038 error_condition
0039 make_error_condition(condition c);
0040 
0041 } // beast
0042 } // boost
0043 
0044 #endif