mirror of
https://github.com/boostorg/preprocessor.git
synced 2026-01-26 08:52:23 +01:00
Test for stringize macro and use of variadic in stringize macro.
This commit is contained in:
@@ -28,6 +28,10 @@
|
||||
# define BOOST_PP_STRINGIZE(text) BOOST_PP_STRINGIZE_I(text)
|
||||
# endif
|
||||
#
|
||||
#if BOOST_PP_VARIADICS
|
||||
# define BOOST_PP_STRINGIZE_I(...) #__VA_ARGS__
|
||||
#else
|
||||
# define BOOST_PP_STRINGIZE_I(text) #text
|
||||
#endif
|
||||
#
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user