|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58899 - sandbox/chrono/boost
From: vicente.botet_at_[hidden]
Date: 2010-01-11 06:47:48
Author: viboes
Date: 2010-01-11 06:47:47 EST (Mon, 11 Jan 2010)
New Revision: 58899
URL: http://svn.boost.org/trac/boost/changeset/58899
Log:
Boost.Chrono: Version 0.3.0, forgotten update to file ratio.hpp
Text files modified:
sandbox/chrono/boost/ratio.hpp | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
Modified: sandbox/chrono/boost/ratio.hpp
==============================================================================
--- sandbox/chrono/boost/ratio.hpp (original)
+++ sandbox/chrono/boost/ratio.hpp 2010-01-11 06:47:47 EST (Mon, 11 Jan 2010)
@@ -168,8 +168,8 @@
(BOOST_INTMAX_C(1) << (sizeof(boost::intmax_t) * CHAR_BIT - 1)) + 1;
static const boost::intmax_t max = -min;
#else
- static const boost::intmax_t min = integer_traits<boost::intmax_t>::const_min;
- static const boost::intmax_t max = integer_traits<boost::intmax_t>::const_max;
+ static const boost::intmax_t min = boost::integer_traits<boost::intmax_t>::const_min;
+ static const boost::intmax_t max = boost::integer_traits<boost::intmax_t>::const_max;
#endif
BOOST_RATIO_STATIC_ASSERT(X <= max - Y , BOOST_RATIO_OVERFLOW_IN_LL_ADD, ());
@@ -192,8 +192,8 @@
(BOOST_INTMAX_C(1) << (sizeof(boost::intmax_t) * CHAR_BIT - 1)) + 1;
static const boost::intmax_t max = -min;
#else
- static const boost::intmax_t min = integer_traits<boost::intmax_t>::const_min;
- static const boost::intmax_t max = integer_traits<boost::intmax_t>::const_max;
+ static const boost::intmax_t min = boost::integer_traits<boost::intmax_t>::const_min;
+ static const boost::intmax_t max = boost::integer_traits<boost::intmax_t>::const_max;
#endif
BOOST_RATIO_STATIC_ASSERT(min - Y <= X, BOOST_RATIO_OVERFLOW_IN_LL_ADD, ());
@@ -212,8 +212,8 @@
(BOOST_INTMAX_C(1) << (sizeof(boost::intmax_t) * CHAR_BIT - 1)) + 1;
static const boost::intmax_t max = -min;
#else
- static const boost::intmax_t min = integer_traits<boost::intmax_t>::const_min;
- static const boost::intmax_t max = integer_traits<boost::intmax_t>::const_max;
+ static const boost::intmax_t min = boost::integer_traits<boost::intmax_t>::const_min;
+ static const boost::intmax_t max = boost::integer_traits<boost::intmax_t>::const_max;
#endif
BOOST_RATIO_STATIC_ASSERT(min + Y <= X, BOOST_RATIO_OVERFLOW_IN_LL_SUB, ());
@@ -236,8 +236,8 @@
(BOOST_INTMAX_C(1) << (sizeof(boost::intmax_t) * CHAR_BIT - 1)) + 1;
static const boost::intmax_t max = -min;
#else
- static const boost::intmax_t min = integer_traits<boost::intmax_t>::const_min;
- static const boost::intmax_t max = integer_traits<boost::intmax_t>::const_max;
+ static const boost::intmax_t min = boost::integer_traits<boost::intmax_t>::const_min;
+ static const boost::intmax_t max = boost::integer_traits<boost::intmax_t>::const_max;
#endif
BOOST_RATIO_STATIC_ASSERT(X <= max + Y, BOOST_RATIO_OVERFLOW_IN_LL_SUB, ());
@@ -254,8 +254,8 @@
static const boost::intmax_t min = nan + 1;
static const boost::intmax_t max = -min;
#else
- static const boost::intmax_t min = integer_traits<boost::intmax_t>::const_min;
- static const boost::intmax_t max = integer_traits<boost::intmax_t>::const_max;
+ static const boost::intmax_t min = boost::integer_traits<boost::intmax_t>::const_min;
+ static const boost::intmax_t max = boost::integer_traits<boost::intmax_t>::const_max;
#endif
static const boost::intmax_t a_x = static_abs<X>::value;
@@ -298,8 +298,8 @@
static const boost::intmax_t min = nan + 1;
static const boost::intmax_t max = -min;
#else
- static const boost::intmax_t min = integer_traits<boost::intmax_t>::const_min;
- static const boost::intmax_t max = integer_traits<boost::intmax_t>::const_max;
+ static const boost::intmax_t min = boost::integer_traits<boost::intmax_t>::const_min;
+ static const boost::intmax_t max = boost::integer_traits<boost::intmax_t>::const_max;
#endif
BOOST_RATIO_STATIC_ASSERT(X != nan, BOOST_RATIO_OVERFLOW_IN_LL_DIV, ());
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