is_1.hpp 946 B

1234567891011121314151617181920212223
  1. # /* **************************************************************************
  2. # * *
  3. # * (C) Copyright Paul Mensonides 2003.
  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_IS_1_HPP
  13. # define BOOST_PREPROCESSOR_FACILITIES_IS_1_HPP
  14. #
  15. # include <boost/preprocessor/cat.hpp>
  16. # include <boost/preprocessor/facilities/is_empty.hpp>
  17. #
  18. # /* BOOST_PP_IS_1 */
  19. #
  20. # define BOOST_PP_IS_1(x) BOOST_PP_IS_EMPTY(BOOST_PP_CAT(BOOST_PP_IS_1_HELPER_, x))
  21. # define BOOST_PP_IS_1_HELPER_1
  22. #
  23. # endif