mirror of
https://github.com/boostorg/static_assert.git
synced 2026-01-22 05:42:29 +00:00
Compare commits
18 Commits
boost-1.43
...
svn-branch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e8fcdcf2b5 | ||
|
|
80c6340833 | ||
|
|
138c5bde91 | ||
|
|
5d9274a683 | ||
|
|
87ecd7d39f | ||
|
|
62461d8848 | ||
|
|
a7e33291eb | ||
|
|
413e7eda07 | ||
|
|
a9a9f0591b | ||
|
|
effe841116 | ||
|
|
8cfe5d77c0 | ||
|
|
8b819d5c6c | ||
|
|
bc5065e495 | ||
|
|
1663a635aa | ||
|
|
b9a3b24aef | ||
|
|
a0dac351fb | ||
|
|
c68b2114de | ||
|
|
48b6934f7f |
@@ -38,7 +38,7 @@
|
||||
# define BOOST_STATIC_ASSERT_BOOL_CAST(x) (bool)(x)
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_HAS_STATIC_ASSERT
|
||||
#ifndef BOOST_NO_STATIC_ASSERT
|
||||
# define BOOST_STATIC_ASSERT( B ) static_assert(B, #B)
|
||||
#else
|
||||
|
||||
@@ -125,7 +125,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 // defined(BOOST_NO_STATIC_ASSERT)
|
||||
|
||||
#endif // BOOST_STATIC_ASSERT_HPP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user