Fixed macro testing for __VA_OPT__ support.

This commit is contained in:
Edward Diener
2019-09-27 22:15:18 -04:00
parent e439b2555e
commit 54669af127
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
# if BOOST_PP_VARIADICS && defined(__cplusplus) && __cplusplus > 201703L
# include <boost/preprocessor/variadic/detail/opt.hpp>
# define BOOST_PP_VARIADIC_OPT() \
BOOST_PP_VARIADIC_OPT_ELEM2(BOOST_PP_VARIADIC_OPT_FUNCTION(),) \
BOOST_PP_VARIADIC_OPT_ELEM2(BOOST_PP_VARIADIC_OPT_FUNCTION(?),) \
/**/
# else
# define BOOST_PP_VARIADIC_OPT() 0