mirror of
https://github.com/boostorg/static_assert.git
synced 2025-08-02 06:04:27 +02:00
If we have a static_assert we should use it, even if there are no variadic macros.
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
# ifndef BOOST_NO_CXX11_VARIADIC_MACROS
|
# ifndef BOOST_NO_CXX11_VARIADIC_MACROS
|
||||||
# define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__)
|
# define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__)
|
||||||
# else
|
# else
|
||||||
# define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )
|
# define BOOST_STATIC_ASSERT_MSG( B, Msg ) static_assert( B, Msg )
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )
|
# define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )
|
||||||
|
Reference in New Issue
Block a user