Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62083 - trunk/boost/config/compiler
From: john_at_[hidden]
Date: 2010-05-18 08:05:45


Author: johnmaddock
Date: 2010-05-18 08:05:43 EDT (Tue, 18 May 2010)
New Revision: 62083
URL: http://svn.boost.org/trac/boost/changeset/62083

Log:
Codegear C++ has static_assert.
Fixes #4221.
Text files modified:
   trunk/boost/config/compiler/codegear.hpp | 6 +++++-
   1 files changed, 5 insertions(+), 1 deletions(-)

Modified: trunk/boost/config/compiler/codegear.hpp
==============================================================================
--- trunk/boost/config/compiler/codegear.hpp (original)
+++ trunk/boost/config/compiler/codegear.hpp 2010-05-18 08:05:43 EDT (Tue, 18 May 2010)
@@ -75,6 +75,11 @@
 //
 // C++0x macros:
 //
+#if (__CODEGEARC__ <= 0x620)
+#define BOOST_NO_STATIC_ASSERT
+#else
+#define BOOST_HAS_STATIC_ASSERT
+#endif
 #define BOOST_HAS_CHAR16_T
 #define BOOST_HAS_CHAR32_T
 #define BOOST_HAS_LONG_LONG
@@ -100,7 +105,6 @@
 #define BOOST_NO_RAW_LITERALS
 #define BOOST_NO_RVALUE_REFERENCES
 #define BOOST_NO_SFINAE_EXPR
-#define BOOST_NO_STATIC_ASSERT
 #define BOOST_NO_TEMPLATE_ALIASES
 #define BOOST_NO_UNICODE_LITERALS
 #define BOOST_NO_VARIADIC_TEMPLATES


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