File indexing completed on 2025-09-17 08:24:40
0001
0002
0003
0004
0005
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 BOOST_COBALT_DECL BOOST_NORETURN void throw_bad_executor(const boost::source_location & loc = BOOST_CURRENT_LOCATION);
0027
0028 template<typename >
0029 std::exception_ptr wait_not_ready() { return boost::cobalt::detail::wait_not_ready();}
0030
0031 }
0032
0033 #endif