1
#ifndef UUID_AA15E74A856F11E08B8D93F24824019B
2
#define UUID_AA15E74A856F11E08B8D93F24824019B
3
#if (__GNUC__*100+__GNUC_MINOR__>301) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
4
#pragma GCC system_header
6
#if defined(_MSC_VER) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
7
#pragma warning(push,1)
10
// MS compatible compilers support #pragma once
12
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
17
// boost/throw_exception.hpp
19
// Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
20
// Copyright (c) 2008-2009 Emil Dotchevski and Reverge Studios, Inc.
22
// Distributed under the Boost Software License, Version 1.0. (See
23
// accompanying file LICENSE_1_0.txt or copy at
24
// http://www.boost.org/LICENSE_1_0.txt)
26
// http://www.boost.org/libs/utility/throw_exception.html
29
#include <boost/exception/detail/attribute_noreturn.hpp>
30
#include <boost/detail/workaround.hpp>
31
#include <boost/config.hpp>
34
#if !defined( BOOST_EXCEPTION_DISABLE ) && defined( __BORLANDC__ ) && BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT(0x593) )
35
# define BOOST_EXCEPTION_DISABLE
38
#if !defined( BOOST_EXCEPTION_DISABLE ) && defined( BOOST_MSVC ) && BOOST_WORKAROUND( BOOST_MSVC, < 1310 )
39
# define BOOST_EXCEPTION_DISABLE
42
#if !defined( BOOST_EXCEPTION_DISABLE )
43
# include <boost/exception/exception.hpp>
44
#if !defined(BOOST_THROW_EXCEPTION_CURRENT_FUNCTION)
45
# include <boost/current_function.hpp>
46
# define BOOST_THROW_EXCEPTION_CURRENT_FUNCTION BOOST_CURRENT_FUNCTION
48
# define BOOST_THROW_EXCEPTION(x) ::boost::exception_detail::throw_exception_(x,BOOST_THROW_EXCEPTION_CURRENT_FUNCTION,__FILE__,__LINE__)
50
# define BOOST_THROW_EXCEPTION(x) ::boost::throw_exception(x)
55
#ifdef BOOST_NO_EXCEPTIONS
57
void throw_exception( std::exception const & e ); // user defined
61
inline void throw_exception_assert_compatibility( std::exception const & ) { }
63
template<class E> BOOST_ATTRIBUTE_NORETURN inline void throw_exception( E const & e )
65
//All boost exceptions are required to derive from std::exception,
66
//to ensure compatibility with BOOST_NO_EXCEPTIONS.
67
throw_exception_assert_compatibility(e);
69
#ifndef BOOST_EXCEPTION_DISABLE
70
throw enable_current_exception(enable_error_info(e));
78
#if !defined( BOOST_EXCEPTION_DISABLE )
83
BOOST_ATTRIBUTE_NORETURN
85
throw_exception_( E const & x, char const * current_function, char const * file, int line )
87
boost::throw_exception(
92
throw_function(current_function)),
100
#if defined(_MSC_VER) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)