blob: 61541277dc51016bd60221bd072ba8369e5f3186 [file] [log] [blame]
Jeff Thompsona28eed82013-08-22 16:21:10 -07001
Jeff Thompson3d613fd2013-10-15 15:39:04 -07002#ifndef NDNBOOST_MPL_AUX_ITER_FOLD_IMPL_HPP_INCLUDED
3#define NDNBOOST_MPL_AUX_ITER_FOLD_IMPL_HPP_INCLUDED
Jeff Thompsona28eed82013-08-22 16:21:10 -07004
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: iter_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
Jeff Thompson3d613fd2013-10-15 15:39:04 -070017#if !defined(NDNBOOST_MPL_PREPROCESSING_MODE)
Jeff Thompsona28eed82013-08-22 16:21:10 -070018# include <ndnboost/mpl/next_prior.hpp>
19# include <ndnboost/mpl/apply.hpp>
20# include <ndnboost/mpl/aux_/config/ctps.hpp>
Jeff Thompson3d613fd2013-10-15 15:39:04 -070021# if defined(NDNBOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
Jeff Thompsona28eed82013-08-22 16:21:10 -070022# include <ndnboost/mpl/if.hpp>
23# include <ndnboost/type_traits/is_same.hpp>
24# endif
25#endif
26
27#include <ndnboost/mpl/aux_/config/use_preprocessed.hpp>
28
Jeff Thompson3d613fd2013-10-15 15:39:04 -070029#if !defined(NDNBOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
30 && !defined(NDNBOOST_MPL_PREPROCESSING_MODE)
Jeff Thompsona28eed82013-08-22 16:21:10 -070031
Jeff Thompson3d613fd2013-10-15 15:39:04 -070032# define NDNBOOST_MPL_PREPROCESSED_HEADER iter_fold_impl.hpp
Jeff Thompsona28eed82013-08-22 16:21:10 -070033# include <ndnboost/mpl/aux_/include_preprocessed.hpp>
34
35#else
36
37# define AUX778076_FOLD_IMPL_OP(iter) iter
38# define AUX778076_FOLD_IMPL_NAME_PREFIX iter_fold
39# include <ndnboost/mpl/aux_/fold_impl_body.hpp>
40
Jeff Thompson3d613fd2013-10-15 15:39:04 -070041#endif // NDNBOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
42#endif // NDNBOOST_MPL_AUX_ITER_FOLD_IMPL_HPP_INCLUDED