mirror of
https://github.com/boostorg/static_assert.git
synced 2026-01-24 18:32:25 +00:00
Compare commits
30 Commits
boost-1.54
...
boost-1.56
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
29a7d491b8 | ||
|
|
f2b7643595 | ||
|
|
bc29f7ab62 | ||
|
|
c951c0db9a | ||
|
|
8912d413ba | ||
|
|
bf3ee21630 | ||
|
|
c40a626f1c | ||
|
|
2993231dad | ||
|
|
ce9e800db8 | ||
|
|
5e7b62a1f4 | ||
|
|
e910489e16 | ||
|
|
f57e592d1e | ||
|
|
a0a2bd5703 | ||
|
|
80c6340833 | ||
|
|
138c5bde91 | ||
|
|
5d9274a683 | ||
|
|
87ecd7d39f | ||
|
|
62461d8848 | ||
|
|
a7e33291eb | ||
|
|
413e7eda07 | ||
|
|
a9a9f0591b | ||
|
|
effe841116 | ||
|
|
8cfe5d77c0 | ||
|
|
8b819d5c6c | ||
|
|
bc5065e495 | ||
|
|
1663a635aa | ||
|
|
b9a3b24aef | ||
|
|
a0dac351fb | ||
|
|
c68b2114de | ||
|
|
48b6934f7f |
@@ -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 )
|
||||
@@ -183,6 +183,7 @@ template<int x> struct static_assert_test{};
|
||||
enum { BOOST_JOIN(boost_static_assert_enum_, __LINE__) \
|
||||
= sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( __VA_ARGS__ ) >) }
|
||||
# else
|
||||
# define BOOST_STATIC_ASSERT(B) \
|
||||
enum { BOOST_JOIN(boost_static_assert_enum_, __LINE__) \
|
||||
= sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( B ) >) }
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user