Changed BOOST_PP_EMPTY to only use the variadic version when not VC++. Corrected others to use local version of EMPTY.

This commit is contained in:
Edward Diener
2014-05-23 10:23:40 -04:00
parent f61bb8a80f
commit 8ac31eb612
5 changed files with 17 additions and 11 deletions

View File

@ -16,7 +16,6 @@
# include <boost/preprocessor/array/data.hpp>
# include <boost/preprocessor/array/size.hpp>
# include <boost/preprocessor/control/if.hpp>
# include <boost/preprocessor/facilities/empty.hpp>
#
# /* BOOST_PP_ARRAY_TO_TUPLE */
#
@ -25,9 +24,10 @@
( \
BOOST_PP_ARRAY_SIZE(array), \
BOOST_PP_ARRAY_DATA, \
BOOST_PP_EMPTY \
BOOST_PP_ARRAY_TO_TUPLE_EMPTY \
) \
(array) \
/**/
# define BOOST_PP_ARRAY_TO_TUPLE_EMPTY(array)
#
# endif