blob: 339e2964e1b20fe6fd62060e091f30753b5686e1 [file] [log] [blame]
Jeff Thompsona28eed82013-08-22 16:21:10 -07001
2#ifndef BOOST_MPL_AUX_FOLD_IMPL_HPP_INCLUDED
3#define BOOST_MPL_AUX_FOLD_IMPL_HPP_INCLUDED
4
5// Copyright Aleksey Gurtovoy 2000-2004
6//
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)
10//
11// See http://www.boost.org/libs/mpl for documentation.
12
13// $Id: fold_impl.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
14// $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $
15// $Revision: 49267 $
16
17#if !defined(BOOST_MPL_PREPROCESSING_MODE)
18# include <ndnboost/mpl/next_prior.hpp>
19# include <ndnboost/mpl/apply.hpp>
20# include <ndnboost/mpl/deref.hpp>
21# include <ndnboost/mpl/aux_/config/ctps.hpp>
22# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
23# include <ndnboost/mpl/if.hpp>
24# include <ndnboost/type_traits/is_same.hpp>
25# endif
26#endif
27
28#include <ndnboost/mpl/aux_/config/use_preprocessed.hpp>
29
30#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
31 && !defined(BOOST_MPL_PREPROCESSING_MODE)
32
33# define BOOST_MPL_PREPROCESSED_HEADER fold_impl.hpp
34# include <ndnboost/mpl/aux_/include_preprocessed.hpp>
35
36#else
37
38# define AUX778076_FOLD_IMPL_OP(iter) typename deref<iter>::type
39# define AUX778076_FOLD_IMPL_NAME_PREFIX fold
40# include <ndnboost/mpl/aux_/fold_impl_body.hpp>
41
42#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
43#endif // BOOST_MPL_AUX_FOLD_IMPL_HPP_INCLUDED