123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef BOOST_PROCESS_V2_DETAIL_THROW_EXCEPTION_HPP
- #define BOOST_PROCESS_V2_DETAIL_THROW_EXCEPTION_HPP
- #include <boost/process/v2/detail/config.hpp>
- #if !defined(BOOST_PROCESS_V2_STANDALONE)
- #include <boost/throw_exception.hpp>
- #endif
- BOOST_PROCESS_V2_BEGIN_NAMESPACE
- namespace detail
- {
- #if defined(BOOST_PROCESS_V2_STANDALONE)
- template <typename Exception>
- inline void throw_exception(const Exception& e)
- {
- throw e;
- }
- #else
- using boost::throw_exception;
- #endif
- }
- BOOST_PROCESS_V2_END_NAMESPACE
- #endif
|