Unconditionally #include <exception> for std::exception.

[SVN r45150]
This commit is contained in:
Peter Dimov
2008-05-05 20:06:58 +00:00
parent c28501de6c
commit ca22b61545

View File

@ -22,6 +22,7 @@
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
#include <exception>
#if !defined( BOOST_EXCEPTION_DISABLE ) && defined( __BORLANDC__ ) && BOOST_WORKAROUND( __BORLANDC__, <= 0x551 )
# define BOOST_EXCEPTION_DISABLE
@ -31,14 +32,10 @@
# define BOOST_EXCEPTION_DISABLE
#endif
#ifdef BOOST_NO_EXCEPTIONS
# include <exception>
#else
# ifndef BOOST_EXCEPTION_DISABLE
#if !defined( BOOST_NO_EXCEPTIONS ) && !defined( BOOST_EXCEPTION_DISABLE )
# include <boost/exception/enable_current_exception.hpp>
# include <boost/exception/enable_error_info.hpp>
#endif
#endif
namespace boost
{