mirror of
https://github.com/boostorg/exception.git
synced 2025-07-22 16:47:14 +02:00
Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
This commit is contained in:
@ -27,10 +27,6 @@ may_throw_on_copy
|
||||
if( throw_ )
|
||||
throw T();
|
||||
}
|
||||
|
||||
#if defined(__PATHSCALE__)
|
||||
~may_throw_on_copy() throw() {}
|
||||
#endif
|
||||
|
||||
bool throw_;
|
||||
};
|
||||
@ -63,9 +59,6 @@ struct
|
||||
derives_std_exception:
|
||||
std::exception
|
||||
{
|
||||
#if defined(__PATHSCALE__)
|
||||
~derives_std_exception() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
struct
|
||||
@ -84,19 +77,12 @@ derives_std_boost_exception:
|
||||
{
|
||||
return wh_;
|
||||
}
|
||||
|
||||
#if defined(__PATHSCALE__)
|
||||
~derives_std_boost_exception() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
struct
|
||||
derives_boost_exception:
|
||||
boost::exception
|
||||
{
|
||||
#if defined(__PATHSCALE__)
|
||||
~derives_boost_exception() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
template <class T>
|
||||
|
@ -30,10 +30,6 @@ error1:
|
||||
std::exception,
|
||||
boost::exception
|
||||
{
|
||||
#if defined(__PATHSCALE__)
|
||||
~error1() throw() {}
|
||||
#endif
|
||||
|
||||
char const *
|
||||
what() const throw()
|
||||
{
|
||||
@ -45,9 +41,6 @@ struct
|
||||
error2:
|
||||
boost::exception
|
||||
{
|
||||
#if defined(__PATHSCALE__)
|
||||
~error2() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
struct
|
||||
@ -59,9 +52,6 @@ error3:
|
||||
{
|
||||
return "error3";
|
||||
}
|
||||
#if defined(__PATHSCALE__)
|
||||
~error3() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
struct
|
||||
@ -74,9 +64,6 @@ error4:
|
||||
{
|
||||
return diagnostic_information_what(*this);
|
||||
}
|
||||
#if defined(__PATHSCALE__)
|
||||
~error4() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
void
|
||||
|
@ -22,9 +22,6 @@ test_exception:
|
||||
virtual boost::exception,
|
||||
virtual std::exception
|
||||
{
|
||||
#if defined(__PATHSCALE__)
|
||||
~test_exception() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
int
|
||||
|
@ -21,9 +21,6 @@ my_exception:
|
||||
{
|
||||
return "my_exception";
|
||||
}
|
||||
#if defined(__PATHSCALE__)
|
||||
~my_exception() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
typedef boost::error_info<struct my_tag,int> my_int;
|
||||
|
@ -15,9 +15,6 @@ struct
|
||||
exception1:
|
||||
std::exception
|
||||
{
|
||||
#if defined(__PATHSCALE__)
|
||||
~exception1() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
struct
|
||||
@ -25,9 +22,6 @@ exception2:
|
||||
std::exception,
|
||||
boost::exception
|
||||
{
|
||||
#if defined(__PATHSCALE__)
|
||||
~exception2() throw() {}
|
||||
#endif
|
||||
};
|
||||
|
||||
void
|
||||
@ -46,7 +40,7 @@ boost_throw_exception_test()
|
||||
int const * line=boost::get_error_info<boost::throw_line>(x);
|
||||
BOOST_TEST( file && *file );
|
||||
BOOST_TEST( function && *function );
|
||||
BOOST_TEST( line && *line==38 );
|
||||
BOOST_TEST( line && *line==32 );
|
||||
}
|
||||
catch(
|
||||
... )
|
||||
@ -67,7 +61,7 @@ boost_throw_exception_test()
|
||||
int const * data=boost::get_error_info<test_data>(x);
|
||||
BOOST_TEST( file && *file );
|
||||
BOOST_TEST( function && *function );
|
||||
BOOST_TEST( line && *line==58 );
|
||||
BOOST_TEST( line && *line==52 );
|
||||
BOOST_TEST( data && *data==42 );
|
||||
}
|
||||
catch(
|
||||
|
Reference in New Issue
Block a user