2
#ifndef BOOST_MPL_AUX_REVERSE_FOLD_IMPL_HPP_INCLUDED
3
#define BOOST_MPL_AUX_REVERSE_FOLD_IMPL_HPP_INCLUDED
5
// Copyright Aleksey Gurtovoy 2000-2004
7
// Distributed under the Boost Software License, Version 1.0.
8
// (See accompanying file LICENSE_1_0.txt or copy at
9
// http://www.boost.org/LICENSE_1_0.txt)
11
// See http://www.boost.org/libs/mpl for documentation.
13
// $Id: reverse_fold_impl.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
14
// $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $
17
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
18
# include <boost/mpl/next_prior.hpp>
19
# include <boost/mpl/deref.hpp>
20
# include <boost/mpl/apply.hpp>
21
# include <boost/mpl/aux_/config/ctps.hpp>
22
# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
23
|| defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
24
# include <boost/mpl/if.hpp>
25
# include <boost/type_traits/is_same.hpp>
29
#include <boost/mpl/aux_/config/use_preprocessed.hpp>
31
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
32
&& !defined(BOOST_MPL_PREPROCESSING_MODE)
34
# define BOOST_MPL_PREPROCESSED_HEADER reverse_fold_impl.hpp
35
# include <boost/mpl/aux_/include_preprocessed.hpp>
39
# define AUX778076_FOLD_IMPL_OP(iter) typename deref<iter>::type
40
# define AUX778076_FOLD_IMPL_NAME_PREFIX reverse_fold
41
# include <boost/mpl/aux_/reverse_fold_impl_body.hpp>
43
#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
44
#endif // BOOST_MPL_AUX_REVERSE_FOLD_IMPL_HPP_INCLUDED