Added variadic version of BOOST_PP_EMPTY and added new is_empty tests.

This commit is contained in:
Edward Diener
2014-04-28 22:12:08 -04:00
parent 975c39b910
commit 2c7cf9410a
3 changed files with 45 additions and 8 deletions

View File

@ -8,14 +8,21 @@
# */
#
# /* Revised by Paul Mensonides (2002) */
# /* Revised by Edward Diener (2014) */
#
# /* See http://www.boost.org for most recent version. */
#
# ifndef BOOST_PREPROCESSOR_FACILITIES_EMPTY_HPP
# define BOOST_PREPROCESSOR_FACILITIES_EMPTY_HPP
#
# include <boost/preprocessor/config/config.hpp>
#
# /* BOOST_PP_EMPTY */
#
# if BOOST_PP_VARIADICS
# define BOOST_PP_EMPTY(...)
# else
# define BOOST_PP_EMPTY()
# endif
#
# endif