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

@ -17,7 +17,7 @@
# if BOOST_PP_VARIADICS && defined(__cplusplus) && __cplusplus > 201703L
#
# define BOOST_PP_VARIADIC_OPT_FUNCTION(...) \
__VA_OPT__(0,) 0, 0, 1 \
__VA_OPT__(,) , 1, 0 \
/**/
#
# define BOOST_PP_VARIADIC_OPT_ELEM0(e0, ...) BOOST_PP_VARIADIC_OPT_ELEM_0(e0,__VA_ARGS__)