limits.hpp 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. /*=============================================================================
  2. Copyright (c) 2006-2007 Tobias Schwinger
  3. Use modification and distribution are subject to the Boost Software
  4. License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  5. http://www.boost.org/LICENSE_1_0.txt).
  6. ==============================================================================*/
  7. #if !defined(BOOST_FUSION_FUNCTIONAL_ADAPTER_LIMITS_HPP_INCLUDED)
  8. # define BOOST_FUSION_FUNCTIONAL_ADAPTER_LIMITS_HPP_INCLUDED
  9. # include <boost/fusion/container/vector/detail/config.hpp>
  10. # if !defined(BOOST_FUSION_HAS_VARIADIC_VECTOR)
  11. # include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
  12. # endif
  13. # if !defined(BOOST_FUSION_UNFUSED_MAX_ARITY)
  14. # define BOOST_FUSION_UNFUSED_MAX_ARITY 6
  15. # elif !defined(BOOST_FUSION_HAS_VARIADIC_VECTOR) && \
  16. (BOOST_FUSION_UNFUSED_GENERIC_MAX_ARITY > FUSION_MAX_VECTOR_SIZE)
  17. # error "BOOST_FUSION_UNFUSED_GENERIC_MAX_ARITY > FUSION_MAX_VECTOR_SIZE"
  18. # endif
  19. # if !defined(BOOST_FUSION_UNFUSED_TYPED_MAX_ARITY)
  20. # define BOOST_FUSION_UNFUSED_TYPED_MAX_ARITY 6
  21. # elif !defined(BOOST_FUSION_HAS_VARIADIC_VECTOR) && \
  22. (BOOST_FUSION_UNFUSED_TYPED_MAX_ARITY > FUSION_MAX_VECTOR_SIZE)
  23. # error "BOOST_FUSION_UNFUSED_TYPED_MAX_ARITY > FUSION_MAX_VECTOR_SIZE"
  24. # endif
  25. #endif