fold.hpp 2.3 KB

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