iter_fold.hpp 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*=============================================================================
  2. Copyright (c) 2010 Christopher Schmidt
  3. Copyright (c) 2001-2011 Joel de Guzman
  4. Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. ==============================================================================*/
  7. #ifndef BOOST_FUSION_ALGORITHM_ITERATION_ITER_FOLD_HPP
  8. #define BOOST_FUSION_ALGORITHM_ITERATION_ITER_FOLD_HPP
  9. #include <boost/fusion/algorithm/iteration/iter_fold_fwd.hpp>
  10. #include <boost/config.hpp>
  11. #include <boost/fusion/sequence/intrinsic/begin.hpp>
  12. #include <boost/fusion/sequence/intrinsic/end.hpp>
  13. #include <boost/fusion/sequence/intrinsic/empty.hpp>
  14. #include <boost/fusion/sequence/intrinsic/size.hpp>
  15. #include <boost/fusion/support/is_segmented.hpp>
  16. #include <boost/fusion/iterator/equal_to.hpp>
  17. #include <boost/fusion/iterator/deref.hpp>
  18. #include <boost/fusion/iterator/value_of.hpp>
  19. #include <boost/fusion/iterator/prior.hpp>
  20. #include <boost/fusion/iterator/next.hpp>
  21. #include <boost/mpl/eval_if.hpp>
  22. #include <boost/mpl/if.hpp>
  23. #include <boost/mpl/bool.hpp>
  24. #include <boost/utility/result_of.hpp>
  25. #include <boost/type_traits/add_const.hpp>
  26. #include <boost/type_traits/add_reference.hpp>
  27. #define BOOST_FUSION_ITER_FOLD
  28. #if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
  29. #include <boost/fusion/algorithm/iteration/detail/preprocessed/iter_fold.hpp>
  30. #else
  31. #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
  32. #pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/iter_fold.hpp")
  33. #endif
  34. /*=============================================================================
  35. Copyright (c) 2010 Christopher Schmidt
  36. Copyright (c) 2001-2011 Joel de Guzman
  37. Distributed under the Boost Software License, Version 1.0. (See accompanying
  38. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  39. This is an auto-generated file. Do not edit!
  40. ==============================================================================*/
  41. #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
  42. #pragma wave option(preserve: 1)
  43. #endif
  44. #include <boost/fusion/algorithm/iteration/detail/fold.hpp>
  45. #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
  46. #pragma wave option(output: null)
  47. #endif
  48. #endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
  49. #undef BOOST_FUSION_ITER_FOLD
  50. #endif