|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65260 - sandbox/chrono/boost/ratio
From: vicente.botet_at_[hidden]
Date: 2010-09-04 12:05:08
Author: viboes
Date: 2010-09-04 12:05:07 EDT (Sat, 04 Sep 2010)
New Revision: 65260
URL: http://svn.boost.org/trac/boost/changeset/65260
Log:
USES_ARRAY_ASSERT default assertion
Text files modified:
sandbox/chrono/boost/ratio/ratio.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: sandbox/chrono/boost/ratio/ratio.hpp
==============================================================================
--- sandbox/chrono/boost/ratio/ratio.hpp (original)
+++ sandbox/chrono/boost/ratio/ratio.hpp 2010-09-04 12:05:07 EDT (Sat, 04 Sep 2010)
@@ -59,12 +59,12 @@
#include <boost/mpl/bool.hpp>
#define BOOST_RATIO_STATIC_ASSERT(CND, MSG, TYPES) \
BOOST_MPL_ASSERT_MSG(boost::mpl::bool_< (CND) >::type::value, MSG, TYPES)
-#elif defined(BOOST_RATIO_USES_ARRAY_ASSERT)
+#else
+//~ #elif defined(BOOST_RATIO_USES_ARRAY_ASSERT)
#define BOOST_RATIO_CONCAT(A,B) A##B
#define BOOST_RATIO_NAME(A,B) BOOST_RATIO_CONCAT(A,B)
#define BOOST_RATIO_STATIC_ASSERT(CND, MSG, TYPES) static char BOOST_RATIO_NAME(__boost_ratio_test_,__LINE__)[CND]
-#else
-#define BOOST_RATIO_STATIC_ASSERT(CND, MSG, TYPES)
+//~ #define BOOST_RATIO_STATIC_ASSERT(CND, MSG, TYPES)
#endif
#ifdef INTMAX_C
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