mirror of
https://github.com/boostorg/static_assert.git
synced 2025-07-16 06:02:11 +02:00
Compare commits
5 Commits
svn-branch
...
boost-1.34
Author | SHA1 | Date | |
---|---|---|---|
8641391351 | |||
69dbf6f12d | |||
66dd3d2595 | |||
7a0a3fbf32 | |||
c5de8ff789 |
@ -28,10 +28,6 @@
|
||||
# define BOOST_SA_GCC_WORKAROUND
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_HAS_STATIC_ASSERT
|
||||
# define BOOST_STATIC_ASSERT( B ) static_assert(B, #B)
|
||||
#else
|
||||
|
||||
namespace boost{
|
||||
|
||||
// HP aCC cannot deal with missing names for template value parameters
|
||||
@ -115,7 +111,7 @@ template<int x> struct static_assert_test{};
|
||||
enum { BOOST_JOIN(boost_static_assert_enum_, __LINE__) \
|
||||
= sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( B ) >) }
|
||||
#endif
|
||||
#endif // ndef BOOST_HAS_STATIC_ASSERT
|
||||
|
||||
|
||||
#endif // BOOST_STATIC_ASSERT_HPP
|
||||
|
||||
|
Reference in New Issue
Block a user