mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-16 22:12:09 +02:00
Minor changes.
[SVN r12206]
This commit is contained in:
@ -17,11 +17,11 @@
|
||||
<a href="../../../../boost/preprocessor/assert_msg.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/identity.hpp>
|
||||
#include <boost/preprocessor/empty.hpp>
|
||||
#include <boost/preprocessor/if.hpp>
|
||||
|
||||
//! Expands to nothing if C != 0 and to MSG if C == 0.
|
||||
#define BOOST_PP_ASSERT_MSG(C,MSG) BOOST_PP_IF(C,BOOST_PP_EMPTY,BOOST_PP_IDENTITY(MSG))()
|
||||
#define BOOST_PP_ASSERT_MSG(C,MSG) BOOST_PP_IF(C,BOOST_PP_EMPTY,MSG BOOST_PP_EMPTY)()
|
||||
|
||||
//! Obsolete. Use BOOST_PP_ASSERT_MSG().
|
||||
#define BOOST_PREPROCESSOR_ASSERT_MSG(C,MSG) BOOST_PP_ASSERT_MSG(C,MSG)
|
||||
|
Reference in New Issue
Block a user