fold.hpp 2.5 KB

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