iter_fold.hpp 2.3 KB

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