Update TR1 library to cope with GCC-4.3 in C++0x mode, and in TR1 mode.

Updated regex concepts to match the TR1.
Added "tricky" cmath_test to test for the functions Boost doesn't implement.

[SVN r48413]
This commit is contained in:
John Maddock
2008-08-28 11:02:59 +00:00
parent 1297f92b8a
commit 4212c0d915
4 changed files with 9 additions and 8 deletions

View File

@ -46,7 +46,7 @@ int test_main( int , char* [] )
bad_text.assign((std::string::size_type)500000, 'a');
e2.assign("aaa*@");
BOOST_CHECK_THROW(0 == boost::regex_search(bad_text, what, e2), std::runtime_error);
BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e2), std::runtime_error);
good_text.assign((std::string::size_type)5000, 'a');
BOOST_CHECK(0 == boost::regex_search(good_text, what, e2));
@ -54,3 +54,4 @@ int test_main( int , char* [] )
}
#include <boost/test/included/test_exec_monitor.hpp>