Removed boost::exception::what, to avoid ambiguity in user types deriving from both std::exception and boost::exception.

[SVN r46930]
This commit is contained in:
Emil Dotchevski
2008-06-30 19:40:44 +00:00
parent ad1ef37b81
commit d0febca84b
12 changed files with 1492 additions and 1819 deletions

View File

@ -46,7 +46,6 @@ main()
{
BOOST_TEST( 42==*boost::get_error_info<test_int>(x) );
BOOST_TEST( std::string(x.what())==std::string("exception test length error") );
BOOST_TEST( std::string(x.what())!=std::string(boost::diagnostic_information(x)) );
}
catch(
... )