iter_fold_impl.hpp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef BOOST_MPL_AUX_ITER_FOLD_IMPL_HPP_INCLUDED
  2. #define BOOST_MPL_AUX_ITER_FOLD_IMPL_HPP_INCLUDED
  3. // Copyright Aleksey Gurtovoy 2000-2004
  4. //
  5. // Distributed under the Boost Software License, Version 1.0.
  6. // (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. //
  9. // See http://www.boost.org/libs/mpl for documentation.
  10. // $Id$
  11. // $Date$
  12. // $Revision$
  13. #if !defined(BOOST_MPL_PREPROCESSING_MODE)
  14. # include <boost/mpl/next_prior.hpp>
  15. # include <boost/mpl/apply.hpp>
  16. # include <boost/mpl/aux_/config/ctps.hpp>
  17. # if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
  18. # include <boost/mpl/if.hpp>
  19. # include <boost/type_traits/is_same.hpp>
  20. # endif
  21. #endif
  22. #include <boost/mpl/aux_/config/use_preprocessed.hpp>
  23. #if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
  24. && !defined(BOOST_MPL_PREPROCESSING_MODE)
  25. # define BOOST_MPL_PREPROCESSED_HEADER iter_fold_impl.hpp
  26. # include <boost/mpl/aux_/include_preprocessed.hpp>
  27. #else
  28. # define AUX778076_FOLD_IMPL_OP(iter) iter
  29. # define AUX778076_FOLD_IMPL_NAME_PREFIX iter_fold
  30. # include <boost/mpl/aux_/fold_impl_body.hpp>
  31. #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
  32. #endif // BOOST_MPL_AUX_ITER_FOLD_IMPL_HPP_INCLUDED