|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65261 - sandbox/chrono/boost/type_traits/ext
From: vicente.botet_at_[hidden]
Date: 2010-09-04 12:05:46
Author: viboes
Date: 2010-09-04 12:05:46 EDT (Sat, 04 Sep 2010)
New Revision: 65261
URL: http://svn.boost.org/trac/boost/changeset/65261
Log:
USES_ARRAY_ASSERT default assertion
Text files modified:
sandbox/chrono/boost/type_traits/ext/common_type.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: sandbox/chrono/boost/type_traits/ext/common_type.hpp
==============================================================================
--- sandbox/chrono/boost/type_traits/ext/common_type.hpp (original)
+++ sandbox/chrono/boost/type_traits/ext/common_type.hpp 2010-09-04 12:05:46 EDT (Sat, 04 Sep 2010)
@@ -33,12 +33,12 @@
#include <boost/mpl/bool.hpp>
#define BOOST_COMMON_TYPE_STATIC_ASSERT(CND, MSG, TYPES) \
BOOST_MPL_ASSERT_MSG(boost::mpl::bool_< (CND) >::type::value, MSG, TYPES)
-#elif defined(BOOST_COMMON_TYPE_USES_ARRAY_ASSERT)
+#else
+//~ #elif defined(BOOST_COMMON_TYPE_USES_ARRAY_ASSERT)
#define BOOST_COMMON_TYPE_CONCAT(A,B) A##B
#define BOOST_COMMON_TYPE_NAME(A,B) BOOST_COMMON_TYPE_CONCAT(A,B)
#define BOOST_COMMON_TYPE_STATIC_ASSERT(CND, MSG, TYPES) static char BOOST_COMMON_TYPE_NAME(__boost_common_type_test_,__LINE__)[CND]
-#else
-#define BOOST_COMMON_TYPE_STATIC_ASSERT(CND, MSG, TYPES)
+//~ #define BOOST_COMMON_TYPE_STATIC_ASSERT(CND, MSG, TYPES)
#endif
#if !defined(BOOST_NO_STATIC_ASSERT) || !defined(BOOST_COMMON_TYPE_USES_MPL_ASSERT)
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