File indexing completed on 2025-01-18 09:50:10
0001
0002
0003
0004
0005 #ifndef BOOST_PROCESS_V2_DETAIL_THROW_EXCEPTION_HPP
0006 #define BOOST_PROCESS_V2_DETAIL_THROW_EXCEPTION_HPP
0007
0008 #include <boost/process/v2/detail/config.hpp>
0009
0010 #if !defined(BOOST_PROCESS_V2_STANDALONE)
0011
0012 #include <boost/throw_exception.hpp>
0013
0014 #endif
0015
0016 BOOST_PROCESS_V2_BEGIN_NAMESPACE
0017
0018 namespace detail
0019 {
0020
0021 #if defined(BOOST_PROCESS_V2_STANDALONE)
0022
0023 template <typename Exception>
0024 inline void throw_exception(const Exception& e)
0025 {
0026 throw e;
0027 }
0028
0029 #else
0030
0031 using boost::throw_exception;
0032
0033 #endif
0034
0035 }
0036
0037 BOOST_PROCESS_V2_END_NAMESPACE
0038
0039 #endif