Revert "Ugly, not-to-be-pushed sucking in of all of Boost to get windows to work."
[dyninst.git] / external / boost / mpl / aux_ / fold_impl.hpp
1 \r
2 #ifndef BOOST_MPL_AUX_FOLD_IMPL_HPP_INCLUDED\r
3 #define BOOST_MPL_AUX_FOLD_IMPL_HPP_INCLUDED\r
4 \r
5 // Copyright Aleksey Gurtovoy 2000-2004\r
6 //\r
7 // Distributed under the Boost Software License, Version 1.0. \r
8 // (See accompanying file LICENSE_1_0.txt or copy at \r
9 // http://www.boost.org/LICENSE_1_0.txt)\r
10 //\r
11 // See http://www.boost.org/libs/mpl for documentation.\r
12 \r
13 // $Id: fold_impl.hpp 49267 2008-10-11 06:19:02Z agurtovoy $\r
14 // $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $\r
15 // $Revision: 49267 $\r
16 \r
17 #if !defined(BOOST_MPL_PREPROCESSING_MODE)\r
18 #   include <boost/mpl/next_prior.hpp>\r
19 #   include <boost/mpl/apply.hpp>\r
20 #   include <boost/mpl/deref.hpp>\r
21 #   include <boost/mpl/aux_/config/ctps.hpp>\r
22 #   if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)\r
23 #       include <boost/mpl/if.hpp>\r
24 #       include <boost/type_traits/is_same.hpp>\r
25 #   endif\r
26 #endif\r
27 \r
28 #include <boost/mpl/aux_/config/use_preprocessed.hpp>\r
29 \r
30 #if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \\r
31     && !defined(BOOST_MPL_PREPROCESSING_MODE)\r
32 \r
33 #   define BOOST_MPL_PREPROCESSED_HEADER fold_impl.hpp\r
34 #   include <boost/mpl/aux_/include_preprocessed.hpp>\r
35 \r
36 #else\r
37 \r
38 #   define AUX778076_FOLD_IMPL_OP(iter) typename deref<iter>::type\r
39 #   define AUX778076_FOLD_IMPL_NAME_PREFIX fold\r
40 #   include <boost/mpl/aux_/fold_impl_body.hpp>\r
41 \r
42 #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS\r
43 #endif // BOOST_MPL_AUX_FOLD_IMPL_HPP_INCLUDED\r