$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r83806 - trunk/boost
From: john_at_[hidden]
Date: 2013-04-08 04:45:08
Author: johnmaddock
Date: 2013-04-08 04:45:06 EDT (Mon, 08 Apr 2013)
New Revision: 83806
URL: http://svn.boost.org/trac/boost/changeset/83806
Log:
Fix for compilers that have no variadic macros but do have static_assert (are there any??)
Fixes #8346.
Text files modified:
trunk/boost/static_assert.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/static_assert.hpp
==============================================================================
--- trunk/boost/static_assert.hpp (original)
+++ trunk/boost/static_assert.hpp 2013-04-08 04:45:06 EDT (Mon, 08 Apr 2013)
@@ -30,7 +30,7 @@
# ifndef BOOST_NO_CXX11_VARIADIC_MACROS
# define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__)
# else
-# define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__)
+# define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )
# endif
#else
# define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )