is_empty_array.hpp 612 B

1234567891011121314151617181920
  1. // (C) Copyright Edward Diener 2011-2015
  2. // Use, modification and distribution are subject to the Boost Software License,
  3. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt).
  5. #if !defined(BOOST_VMD_DETAIL_IS_EMPTY_ARRAY_HPP)
  6. #define BOOST_VMD_DETAIL_IS_EMPTY_ARRAY_HPP
  7. #include <boost/preprocessor/array/size.hpp>
  8. #include <boost/preprocessor/logical/not.hpp>
  9. #define BOOST_VMD_DETAIL_IS_EMPTY_ARRAY_SIZE(array) \
  10. BOOST_PP_NOT \
  11. ( \
  12. BOOST_PP_ARRAY_SIZE(array) \
  13. ) \
  14. /**/
  15. #endif /* BOOST_VMD_DETAIL_IS_EMPTY_ARRAY_HPP */