|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80456 - sandbox/rational/Test_Rationals
From: dansearles_at_[hidden]
Date: 2012-09-08 17:32:26
Author: mrdans
Date: 2012-09-08 17:32:25 EDT (Sat, 08 Sep 2012)
New Revision: 80456
URL: http://svn.boost.org/trac/boost/changeset/80456
Log:
Update RationalChecktype {RationalNoChecking, RationalCheckforOverflow};
to enum rational_checktype {rational_no_checking, rational_check_for_overflow};
Text files modified:
sandbox/rational/Test_Rationals/RationalTestDriver.cpp | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
Modified: sandbox/rational/Test_Rationals/RationalTestDriver.cpp
==============================================================================
--- sandbox/rational/Test_Rationals/RationalTestDriver.cpp (original)
+++ sandbox/rational/Test_Rationals/RationalTestDriver.cpp 2012-09-08 17:32:25 EDT (Sat, 08 Sep 2012)
@@ -14,20 +14,20 @@
#endif
-typedef boost::rational<signed char,boost::RationalCheckforOverflow> RatS8wCK;
-typedef boost::rational<signed char,boost::RationalNoChecking> RatS8ref;
+typedef boost::rational<signed char,boost::rational_check_for_overflow> RatS8wCK;
+typedef boost::rational<signed char,boost::rational_no_checking> RatS8ref;
-typedef boost::rational<short,boost::RationalCheckforOverflow> RatS16wCK;
-typedef boost::rational<short,boost::RationalNoChecking> RatRefS16;
+typedef boost::rational<short,boost::rational_check_for_overflow> RatS16wCK;
+typedef boost::rational<short,boost::rational_no_checking> RatRefS16;
-typedef boost::rational<int,boost::RationalCheckforOverflow> RatS32wCK;
-typedef boost::rational<int,boost::RationalNoChecking> RatS32ref;
+typedef boost::rational<int,boost::rational_check_for_overflow> RatS32wCK;
+typedef boost::rational<int,boost::rational_no_checking> RatS32ref;
-typedef boost::rational<long long,boost::RationalCheckforOverflow> RatSLLwCK;
-typedef boost::rational<long long,boost::RationalNoChecking> RatSLLref;
+typedef boost::rational<long long,boost::rational_check_for_overflow> RatSLLwCK;
+typedef boost::rational<long long,boost::rational_no_checking> RatSLLref;
-typedef boost::rational<unsigned int,boost::RationalCheckforOverflow> RatU32wCK;
-typedef boost::rational<unsigned int,boost::RationalNoChecking> RatU32ref;
+typedef boost::rational<unsigned int,boost::rational_check_for_overflow> RatU32wCK;
+typedef boost::rational<unsigned int,boost::rational_no_checking> RatU32ref;
// std:: namespace helpers
@@ -598,7 +598,7 @@
{
unsigned long long FailCount(0);
COUT << ENDL << "Starting 64 bit selected values rational operator tests" << ENDL;
- typedef boost::rational<Int128,boost::RationalNoChecking> RatInt128;
+ typedef boost::rational<Int128,boost::rational_no_checking> RatInt128;
std::set<RatSLLwCK> valSet;
std::set<long long> valCompSet;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk