check_empty.hpp 1.0 KB

12345678910111213141516171819
  1. # /* **************************************************************************
  2. # * *
  3. # * (C) Copyright Edward Diener 2019.
  4. # * Distributed under the Boost Software License, Version 1.0. (See
  5. # * accompanying file LICENSE_1_0.txt or copy at
  6. # * http://www.boost.org/LICENSE_1_0.txt)
  7. # * *
  8. # ************************************************************************** */
  9. #
  10. # /* See http://www.boost.org for most recent version. */
  11. #
  12. # ifndef BOOST_PREPROCESSOR_FACILITIES_CHECK_EMPTY_HPP
  13. # define BOOST_PREPROCESSOR_FACILITIES_CHECK_EMPTY_HPP
  14. # include <boost/preprocessor/variadic/has_opt.hpp>
  15. # if BOOST_PP_VARIADIC_HAS_OPT()
  16. # include <boost/preprocessor/facilities/is_empty_variadic.hpp>
  17. # define BOOST_PP_CHECK_EMPTY(...) BOOST_PP_IS_EMPTY_OPT(__VA_ARGS__)
  18. # endif /* BOOST_PP_VARIADIC_HAS_OPT() */
  19. # endif /* BOOST_PREPROCESSOR_FACILITIES_CHECK_EMPTY_HPP */