Fixed __VA_OPT__ functionality for vc++ in c20 mode.

This commit is contained in:
Edward Diener
2019-11-12 14:57:09 -05:00
parent 732d00341f
commit a6404a8fb2
2 changed files with 10 additions and 1 deletions

View File

@ -16,7 +16,7 @@
#
# /* BOOST_PP_VARIADIC_HAS_OPT */
#
# if BOOST_PP_VARIADICS && defined(__cplusplus) && __cplusplus > 201703L && !BOOST_PP_VARIADICS_MSVC
# if BOOST_PP_VARIADICS && defined(__cplusplus) && __cplusplus > 201703L
# include <boost/preprocessor/variadic/detail/has_opt.hpp>
# define BOOST_PP_VARIADIC_HAS_OPT() \
BOOST_PP_VARIADIC_HAS_OPT_ELEM2(BOOST_PP_VARIADIC_HAS_OPT_FUNCTION(?),) \