PageRenderTime 24ms CodeModel.GetById 19ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/src/contrib/boost/mpl/aux_/iter_fold_impl.hpp

http://pythonocc.googlecode.com/
C++ Header | 42 lines | 22 code | 10 blank | 10 comment | 2 complexity | eaba468a4010541f485909ee54646de0 MD5 | raw file
 1
 2#ifndef BOOST_MPL_AUX_ITER_FOLD_IMPL_HPP_INCLUDED
 3#define BOOST_MPL_AUX_ITER_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: iter_fold_impl.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
14// $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $
15// $Revision: 49267 $
16
17#if !defined(BOOST_MPL_PREPROCESSING_MODE)
18#   include <boost/mpl/next_prior.hpp>
19#   include <boost/mpl/apply.hpp>
20#   include <boost/mpl/aux_/config/ctps.hpp>
21#   if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
22#       include <boost/mpl/if.hpp>
23#       include <boost/type_traits/is_same.hpp>
24#   endif
25#endif
26
27#include <boost/mpl/aux_/config/use_preprocessed.hpp>
28
29#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
30    && !defined(BOOST_MPL_PREPROCESSING_MODE)
31
32#   define BOOST_MPL_PREPROCESSED_HEADER iter_fold_impl.hpp
33#   include <boost/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 <boost/mpl/aux_/fold_impl_body.hpp>
40
41#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
42#endif // BOOST_MPL_AUX_ITER_FOLD_IMPL_HPP_INCLUDED