forked from boostorg/preprocessor
Changed name of macro from BOOST_PP_VARIADIC_OPT to BOOST_PP_VARIADIC_HAS_OPT
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
# include <libs/preprocessor/test/test.h>
|
||||
# include <boost/preprocessor/facilities/check_empty.hpp>
|
||||
|
||||
# if BOOST_PP_VARIADIC_OPT()
|
||||
# if BOOST_PP_VARIADIC_HAS_OPT()
|
||||
|
||||
# include <boost/preprocessor/facilities/empty.hpp>
|
||||
|
||||
|
@ -94,7 +94,7 @@ void print_macros()
|
||||
PRINT_MACRO(BOOST_PP_CONFIG_FLAGS());
|
||||
PRINT_MACRO(BOOST_PP_VARIADICS);
|
||||
PRINT_MACRO(BOOST_PP_VARIADICS_MSVC);
|
||||
PRINT_MACRO(BOOST_PP_VARIADIC_OPT());
|
||||
PRINT_MACRO(BOOST_PP_VARIADIC_HAS_OPT());
|
||||
}
|
||||
|
||||
int main()
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
# include <boost/preprocessor/variadic/opt.hpp>
|
||||
|
||||
#if defined(__cplusplus) && __cplusplus > 201703L && BOOST_PP_VARIADIC_OPT()
|
||||
#if defined(__cplusplus) && __cplusplus > 201703L && BOOST_PP_VARIADIC_HAS_OPT()
|
||||
|
||||
BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN) == 0 END
|
||||
BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN2) == 0 END
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
# include <boost/preprocessor/variadic/opt.hpp>
|
||||
|
||||
BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN8) == BOOST_PP_VARIADIC_OPT() END
|
||||
BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN8) == BOOST_PP_VARIADIC_HAS_OPT() END
|
||||
|
||||
#else
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
# include <boost/preprocessor/variadic/opt.hpp>
|
||||
|
||||
BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN9) == BOOST_PP_VARIADIC_OPT() END
|
||||
BEGIN BOOST_PP_IS_EMPTY(FUNC_GEN9) == BOOST_PP_VARIADIC_HAS_OPT() END
|
||||
|
||||
#else
|
||||
|
||||
|
Reference in New Issue
Block a user