Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:34:29

0001 //
0002 // Copyright (c) 2022 Klemens Morgenstern (klemens.morgenstern@gmx.net)
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 
0008 #ifndef BOOST_COBALT_DETAIL_EXCEPTION_HPP
0009 #define BOOST_COBALT_DETAIL_EXCEPTION_HPP
0010 
0011 #include <boost/config.hpp>
0012 #include <boost/cobalt/config.hpp>
0013 
0014 #include <exception>
0015 
0016 namespace boost::cobalt::detail
0017 {
0018 
0019 BOOST_COBALT_DECL std::exception_ptr moved_from_exception();
0020 BOOST_COBALT_DECL std::exception_ptr detached_exception();
0021 BOOST_COBALT_DECL std::exception_ptr completed_unexpected();
0022 BOOST_COBALT_DECL std::exception_ptr wait_not_ready();
0023 BOOST_COBALT_DECL std::exception_ptr already_awaited();
0024 BOOST_COBALT_DECL std::exception_ptr allocation_failed();
0025 
0026 template<typename >
0027 std::exception_ptr wait_not_ready() { return boost::cobalt::detail::wait_not_ready();}
0028 
0029 }
0030 
0031 #endif //BOOST_COBALT_DETAIL_EXCEPTION_HPP