Add BOOST_STATIC_ASSERT_MSG

[SVN r68584]
This commit is contained in:
Beman Dawes
2011-01-31 15:03:41 +00:00
parent f57e592d1e
commit e910489e16
3 changed files with 37 additions and 7 deletions
+6
View File
@@ -17,6 +17,12 @@
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
#ifndef BOOST_NO_STATIC_ASSERT
# define BOOST_STATIC_ASSERT_MSG( B, Msg ) static_assert(B, Msg)
#else
# define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )
#endif
#ifdef __BORLANDC__
//
// workaround for buggy integral-constant expression support: